drazenbebic / pokezerrb-discord-bot

0 stars 0 forks source link

Missing flavor text causes the bot to crash #7

Closed drazenbebic closed 2 years ago

drazenbebic commented 2 years ago

The flavor text is not always present for every language. The app should check this and omit the flavor text if not present. Right now, the app assumes that there is always at least one flavor text present, which causes it to crash in some cases.

tbal999 commented 2 years ago

just need a len == 0 logic in there will wait til migrated to TS