You can use the on_message
event to catch every message and do what you like with it. This is better than waiting for a message and executing code as this is faster. The downside is the channel must be hard-coded or use a global variable. Or, you could recreate the whole command in the function (though I don’t know if there are any other implications with this).
@bot.event
async def on_message(message):
if message.channel == bot.get_channel(CHANNEL_ID_HERE_AS_INT):
tags = message.mentions
if len(tags) >= 3:
await message.add_reaction("✅")
else:
await message.add_reaction("❌")
1
solved I am tring to make a discord bot that wait for the user message and if three tags are mentioned it give tick reaction