R
R
ratratrat2020-08-23 14:56:47
Python
ratratrat, 2020-08-23 14:56:47

How to put a reaction under the user's post?

Hello. There is a command, there is a bot that executes this command. How do I get it to put reactions under a command? I know that it is possible to put a reaction under a bot message, but I don’t understand how to put it under a command.
I'll be glad for any helpful answers.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
UberPool, 2020-08-23
@rattratrat

It seems nothing complicated:

message = ctx.message
await message.add_reaction('❤')#эмоция которую поставит бот

5f42b24d0895b975343964.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question