F
F
FortiBRINE2021-07-05 12:39:32
Python
FortiBRINE, 2021-07-05 12:39:32

How to get a person by ID discord.py?

Hello, I need to get a person by ID, which is not a member of the bot's discord servers.
And send him a message

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Nevzorov, 2021-07-05
@fixator10

1. Client.fetch_user
2. None. Bots cannot write to users they cannot see.

F
FortiBRINE, 2021-07-05
@FortiBRINE

It’s interesting to me that the bot wrote to an account that I just created and he already wrote to me, it’s a pity that so far I won’t find the answer to this question

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question