R
R
RevenantRP2021-04-29 17:11:37
Python
RevenantRP, 2021-04-29 17:11:37

How to make discord bot text other user when he clicks on react?

How to make a discord bot write to another user?
Let's say I have a channel with reactions, after which, when a person clicks on one of the reactions, I need the bot to send him a message in PM.
I will also be grateful if you write how.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vindicar, 2021-04-29
@Vindicar

Judging by the discord and python tags, you want to use discord.py?
In this case, you need to process the event for setting the reaction , get the id of the user who put it down, send a message to this user by his id .
The very basics of working with the library are here .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question