badProgrammer0123456
badProgrammer0123456

Reputation: 62

Discord.Py send message on reaction

Since on_reaction_add() only takes 2 arguments which are "reaction" and "user" how am I supposed to send a message if I can't pass in ctx?

Upvotes: 0

Views: 116

Answers (1)

badProgrammer0123456
badProgrammer0123456

Reputation: 62

Found it!

channel = reaction.message.channel
await channel.send("text")

Upvotes: 1

Related Questions