typeinfo
Privateunrated
Content
37 lines{=(comment):If you use a different prefix or decide to change the tag's name, change them here in the code as well, so the help page will be accurate for your server}
{=(prefix):!}
{=(tagname):typeinfo}
{=(comment):finds the type that matches a given input}
{require: 643067385473007616, 632921358195752970}
{=(L1):{lower:{1}}}
{=(types):Normal Fire Water Electric Grass Ice Fighting Poison Ground Flying Psychic Bug Rock Ghost Dragon Dark Steel Fairy}
{=(type):{if({L1}!=):{if({in({L1}):{lower:{types}}}==true):{types({index({L1}):{replace({L1},. {L1} .):{lower:{types}}}})}}}}
{=(comment):Don't touch this unless you are ABSOLUTELY sure you have figured out the databasing system used}
{=(comment):Image$Color$SuperEffective$NotVeryEffective$NoEffect$WeakAgainst$StrongAgainst$ImperviousAgainst}
{=(Normal):f/fb$10000488$$Rock, Steel$Ghost$Fighting$$Ghost}
{=(Fire):3/30$15102495$Grass, Ice, Bug, Steel$Fire, Water, Rock, Dragon$$Water, Ground, Rock$Fire, Grass, Ice, Bug, Steel, Fairy$}
{=(Water):9/9d$5144046$Fire, Ground, Rock$Water, Grass, Dragon$$Electric, Grass$Fire, Water, Ice, Steel$}
{=(Electric):2/2f$16042010$Water, Flying$Electric, Grass, Dragon$Ground$Ground$Electric, Flying, Steel$}
{=(Grass):c/c5$6796864$Water, Ground, Rock$Fire, Grass, Poison, Flying, Bug, Dragon, Steel$$Fire, Ice, Poison, Flying, Bug$Water, Electric, Grass, Ground$}
{=(Ice):7/77$8573136$Grass, Ground, Flying, Dragon$Fire, Water, Ice, Steel$$Fire, Fighting, Rock, Steel$Ice$}
{=(Fighting):3/30$11480101$Normal, Ice, Rock, Dark, Steel$Poison, Flying, Pyschic, Bug, Fairy$Ghost$Flying, Pyschic, Fairy$Bug, Rock, Dark$}
{=(Poison):0/05$9386383$Grass, Fairy$Poison, Ground, Rock, Ghost$Steel$Ground, Psychic$Grass, Fighting, Poison, Bug, Fairy$}
{=(Ground):8/8f$14332745$Fire, Electric, Poison, Rock, Steel$Grass, Bug$Flying$Water, Grass, Ice$Poison, Rock$Electric}
{=(Flying):7/7f$10258648$Grass, Fighting, Bug$Electric, Rock, Steel$$Electric, Ice, Rock$Grass, Fighting, Bug$Ground}
{=(Psychic):2/21$16202097$Fighting, Poison$Pyschic, Steel$Dark$Bug, Ghost, Dark$Fighting, Pyschic$}
{=(Bug):7/7d$10135581$Grass, Pyschic, Dark$Fire, Fighting, Poison, Flying, Ghost, Steel, Fairy$$Fire, Flying, Rock$Grass, Fighting, Ground$}
{=(Rock):0/0b$10784562$Fire, Ice, Flying, Bug$Fighting, Ground, Steel$$Water, Grass, Fighting, Ground, Steel$Normal, Fire, Poison, Flying$}
{=(Ghost):a/ab$6442373$Pyschic, Ghost$Dark$Normal$Ghost, Dark$Poison, Bug$Normal, Fighting}
{=(Dragon):c/c7$6103027$Dragon$Steel$Fairy$Ice, Dragon, Fairy$Fire, Water, Electric, Grass$}
{=(Dark):0/0e$6245181$Pyschic, Ghost$Fighting, Dark, Fairy$$Fighting, Bug, Fairy$Ghost, Dark$Psychic}
{=(Steel):c/c9$10921668$Ice, Rock, Fairy$Fire, Water, Electric, Steel$$Fire, Fighting, Ground$Normal, Grass, Ice, Flying, Pyschic, Bug, Rock, Dragon, Steel, Fairy$Poison}
{=(Fairy):4/43$14976228$Fighting, Dragon, Dark$Fire, Poison, Steel$$Poison, Steel$Fighting, Bug, Dark$Dragon}
{=(comment):Stuff related to building the embed. Embed is built dynamically based on which fields are needed, don't touch if JSON is hard for you}
{=(thmburl):https://vignette.wikia.nocookie.net/pokemongo/images/{{type}(1):$}/{type}.png}
{=(json):{if({type}!=):"fields":[{if({{type}(3):$}!=):{"name":"are Super-effective (2 x DMG Dealt) against:","value":"{{type}(3):$}","inline":false},}{"name":"are Not very effective (½ x DMG Dealt) against:","value":"{{type}(4):$}","inline":false}{if({{type}(5):$}!=):,{"name":"have No Effect (0 DMG Dealt) against:","value":"{{type}(5):$}","inline":false}},{"name":"⠀","value":"__When Defending, **{type}** Type Pokemon__","inline":false},{"name":"are Weak (2 x DMG Taken) against:","value":"{{type}(6):$}","inline":false}{if({{type}(7):$}!=):,{"name":"are Strong (½ x DMG Taken) against:","value":"{{type}(7):$}","inline":false}}{if({{type}(8):$}!=):,{"name":"are Impervious (0 DMG Taken) to:","value":"{{type}(8):$}","inline":false}}],}"description":"{if({type}!=):__When attacking, **{type}** Type Pokemon__|Follow the `{prefix}{tagname}` command with one of the following types:\n> {join(, ):{types}}}",{if({type}==):"image":{"url":"https://img.pokemondb.net/images/typechart.png"},|"title":"{type} Type Pokemon","thumbnail":{"url":"{thmburl}"},}"color":{if({type}!=):{{type}(2):$}|3092790}}
{=(comment):Executes the cembed command to produce the embed in the current channel}
{c:cembed {channel(id)} {{json}}}Raw JSON
{
"id": 107939,
"created_at": "2020-01-12T12:16:01.000Z",
"tag_name": "typeinfo",
"nsfw": false,
"owner_id": "474643816196997128",
"uses": 4,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "510533399224516620",
"sharer": "474643816196997128",
"content": "{=(comment):If you use a different prefix or decide to change the tag's name, change them here in the code as well, so the help page will be accurate for your server}\n{=(prefix):!}\n{=(tagname):typeinfo}\n\n{=(comment):finds the type that matches a given input}\n{require: 643067385473007616, 632921358195752970}\n{=(L1):{lower:{1}}}\n{=(types):Normal Fire Water Electric Grass Ice Fighting Poison Ground Flying Psychic Bug Rock Ghost Dragon Dark Steel Fairy}\n{=(type):{if({L1}!=):{if({in({L1}):{lower:{types}}}==true):{types({index({L1}):{replace({L1},. {L1} .):{lower:{types}}}})}}}}\n\n{=(comment):Don't touch this unless you are ABSOLUTELY sure you have figured out the databasing system used}\n{=(comment):Image$Color$SuperEffective$NotVeryEffective$NoEffect$WeakAgainst$StrongAgainst$ImperviousAgainst}\n{=(Normal):f/fb$10000488$$Rock, Steel$Ghost$Fighting$$Ghost}\n{=(Fire):3/30$15102495$Grass, Ice, Bug, Steel$Fire, Water, Rock, Dragon$$Water, Ground, Rock$Fire, Grass, Ice, Bug, Steel, Fairy$}\n{=(Water):9/9d$5144046$Fire, Ground, Rock$Water, Grass, Dragon$$Electric, Grass$Fire, Water, Ice, Steel$}\n{=(Electric):2/2f$16042010$Water, Flying$Electric, Grass, Dragon$Ground$Ground$Electric, Flying, Steel$}\n{=(Grass):c/c5$6796864$Water, Ground, Rock$Fire, Grass, Poison, Flying, Bug, Dragon, Steel$$Fire, Ice, Poison, Flying, Bug$Water, Electric, Grass, Ground$}\n{=(Ice):7/77$8573136$Grass, Ground, Flying, Dragon$Fire, Water, Ice, Steel$$Fire, Fighting, Rock, Steel$Ice$}\n{=(Fighting):3/30$11480101$Normal, Ice, Rock, Dark, Steel$Poison, Flying, Pyschic, Bug, Fairy$Ghost$Flying, Pyschic, Fairy$Bug, Rock, Dark$}\n{=(Poison):0/05$9386383$Grass, Fairy$Poison, Ground, Rock, Ghost$Steel$Ground, Psychic$Grass, Fighting, Poison, Bug, Fairy$}\n{=(Ground):8/8f$14332745$Fire, Electric, Poison, Rock, Steel$Grass, Bug$Flying$Water, Grass, Ice$Poison, Rock$Electric}\n{=(Flying):7/7f$10258648$Grass, Fighting, Bug$Electric, Rock, Steel$$Electric, Ice, Rock$Grass, Fighting, Bug$Ground}\n{=(Psychic):2/21$16202097$Fighting, Poison$Pyschic, Steel$Dark$Bug, Ghost, Dark$Fighting, Pyschic$}\n{=(Bug):7/7d$10135581$Grass, Pyschic, Dark$Fire, Fighting, Poison, Flying, Ghost, Steel, Fairy$$Fire, Flying, Rock$Grass, Fighting, Ground$}\n{=(Rock):0/0b$10784562$Fire, Ice, Flying, Bug$Fighting, Ground, Steel$$Water, Grass, Fighting, Ground, Steel$Normal, Fire, Poison, Flying$}\n{=(Ghost):a/ab$6442373$Pyschic, Ghost$Dark$Normal$Ghost, Dark$Poison, Bug$Normal, Fighting}\n{=(Dragon):c/c7$6103027$Dragon$Steel$Fairy$Ice, Dragon, Fairy$Fire, Water, Electric, Grass$}\n{=(Dark):0/0e$6245181$Pyschic, Ghost$Fighting, Dark, Fairy$$Fighting, Bug, Fairy$Ghost, Dark$Psychic}\n{=(Steel):c/c9$10921668$Ice, Rock, Fairy$Fire, Water, Electric, Steel$$Fire, Fighting, Ground$Normal, Grass, Ice, Flying, Pyschic, Bug, Rock, Dragon, Steel, Fairy$Poison}\n{=(Fairy):4/43$14976228$Fighting, Dragon, Dark$Fire, Poison, Steel$$Poison, Steel$Fighting, Bug, Dark$Dragon}\n\n{=(comment):Stuff related to building the embed. Embed is built dynamically based on which fields are needed, don't touch if JSON is hard for you}\n{=(thmburl):https://vignette.wikia.nocookie.net/pokemongo/images/{{type}(1):$}/{type}.png}\n{=(json):{if({type}!=):\"fields\":[{if({{type}(3):$}!=):{\"name\":\"are Super-effective (2 x DMG Dealt) against:\",\"value\":\"{{type}(3):$}\",\"inline\":false},}{\"name\":\"are Not very effective (½ x DMG Dealt) against:\",\"value\":\"{{type}(4):$}\",\"inline\":false}{if({{type}(5):$}!=):,{\"name\":\"have No Effect (0 DMG Dealt) against:\",\"value\":\"{{type}(5):$}\",\"inline\":false}},{\"name\":\"⠀\",\"value\":\"__When Defending, **{type}** Type Pokemon__\",\"inline\":false},{\"name\":\"are Weak (2 x DMG Taken) against:\",\"value\":\"{{type}(6):$}\",\"inline\":false}{if({{type}(7):$}!=):,{\"name\":\"are Strong (½ x DMG Taken) against:\",\"value\":\"{{type}(7):$}\",\"inline\":false}}{if({{type}(8):$}!=):,{\"name\":\"are Impervious (0 DMG Taken) to:\",\"value\":\"{{type}(8):$}\",\"inline\":false}}],}\"description\":\"{if({type}!=):__When attacking, **{type}** Type Pokemon__|Follow the `{prefix}{tagname}` command with one of the following types:\\n> {join(, ):{types}}}\",{if({type}==):\"image\":{\"url\":\"https://img.pokemondb.net/images/typechart.png\"},|\"title\":\"{type} Type Pokemon\",\"thumbnail\":{\"url\":\"{thmburl}\"},}\"color\":{if({type}!=):{{type}(2):$}|3092790}}\n\n{=(comment):Executes the cembed command to produce the embed in the current channel}\n{c:cembed {channel(id)} {{json}}}",
"embed": "{}",
"last_fetched": "2026-10-20T20:52:34.843Z"
}