I am trying to create an event, which will be triggered when someone sends a message in a specific channel. In that message if the user mentions 4 users the bot would give a reaction onto his message.
I know I can give reaction with
await ctx.message.add_reaction(emoji="<a:tick:748476262640779276>")
but I don't understand how can I create this kind of event. What function should I use?
You can make an on_message event and message.mentions which will give you a list of members mentioned. you can just take the length of it.