Ratismal / UNO

An uno discord bot
70 stars 36 forks source link

Gameplay via Reactions #6

Closed schrmh closed 5 years ago

schrmh commented 5 years ago

Instead of typing the bot should add possible reactions to the message where you are informed that it is your turn. It just saves a lot of time; especially on mobile. In case that you will solve the DM/Server switching issue you could also only display reactions that are currently possible for the specific user.

Ratismal commented 5 years ago

So, what? You want the bot to put the reactions of every single card on its message for you to click on? That's completely unrealistic.

schrmh commented 5 years ago

I tested it and on a server I run I can add 20 reactions to a message. That's enough to cover all cards: 10 for 0-9 4 for colours 3 for stop, reverse, +2 2 for +4, wild So after a colour + a card reaction get pressed a card is played and in case of wild there don't need to be a exception since it also needs a colour. Also bots can easily remove reactions so they could easily be present at the last message only.

Ratismal commented 5 years ago

19 reactions would also take 19 seconds to apply. That's a lot of API requests and waiting for each turn. I'm not going to implement this.