shoe
shoe

Reputation: 212

How would I use a bot to send multiple reactions on one message? Discord.py

this is kind of a dumb question but how would I make a discord.py event to automatically react to a message with a bunch of different default discord emojis at once. I am new to discord.py

Upvotes: 0

Views: 671

Answers (2)

Alexandr T
Alexandr T

Reputation: 3

You have to use on_message event. Its a default d.py function. It is an automatic function.

Upvotes: 0

Abdulaziz
Abdulaziz

Reputation: 3426

You have to get the message object somehow, ctx.message is one way after that use.

await ctx.message.add_reaction(emoji="😍")
await ctx.message.add_reaction(emoji="⚠️")
await ctx.message.add_reaction(emoji="💔")

You can get the emoji using \⚠️ in discord and then copy past it, above is some random examples.

Upvotes: 3

Related Questions