MantaroBot
MantaroBot copied to clipboard
Port game commands to slash.
This ports the game commands to slash, with the following notes:
- Trivia now uses buttons
- Pokemon, Character and Number still rely on text input. This is because modals just don't cut it for this. If discord ever adds a Component with text input on the message itself, it'd do.
- Game lobby/multiple are removed. This two wouldn't work properly on slash stuff.
While relying on text input is not the best, this works regardless of Message Content intent, as without it the person should be able to reply to the bot message for the bot to get the reply content.
Pokemon could work like trivia does, by getting more than one random name. Only one of the provided names would be correct while the other ones are real pokemon nams just not the one asked for. In this case its probably best to have the names displayed numbered in the embed and use numbers on the buttons, as some names are longer than a button allows. In theory you have 5 times 5 buttons (-1 because there probably should be a "give up" button) to achieve this. Going with 4 incorrect and 1 correct (+ a new row for give up) would seem the most sensical, it would also make the pokemon game more fair to those who are not as familiar with the games, it would also phaseout any sort of spelling mistakes on our end since they can just click the button for the misspelled one when they see it, instead of having to guess what we typoed.