SinisterRectus / Discordia

Discord API library written in Lua for the Luvit runtime environment
MIT License
712 stars 145 forks source link

Detects when a reaction is added #322

Closed iiRezux closed 2 years ago

iiRezux commented 3 years ago

Hello, thanks for help in advance, I am a beginner and I barely made a bot that add reactions to his messages, and I want it to detect what reaction did the user click/add https://i.imgur.com/Q1PEluZ.png and Thanks.

object-Object commented 3 years ago

You're looking for the reactionAdd and reactionAddUncached events and/or the client:waitFor method. Also, it's generally easier, better, and faster to ask questions like this in the Discord API or Discordia servers.

Bilal2453 commented 2 years ago

Please redirect your question to Discord API or Discordia. This place is for reporting actual bugs with Discordia. Good luck.