Closed Hyperfresh closed 4 years ago
Screenshots
will fix that tomorrow, might be my fault as I updated your code to match the new algorithm I made for the others actions commands
alright, the issue actually come from your code:
the 'in' operator don't exactly works like in python it'll return true if you test an existing method of the array, or an index number
to make the conditions working fine you have to use the includes
method, available on arrays
Describe the bug If a flavour for tronky is defined in the command, it's not recognised.
Not 100% sure why it's doing it and what I did in the code to make it buggy lol.
Further investigation to see if it's actually bugged is suggested.
To Reproduce Steps to reproduce the behavior:
?tronky <mention> <flavour
Expected behavior Embed should say the flavour that the user chose.
Screenshots (I did this issue on GitHub mobile app, I'll send the images in a separate message)