S
S
stepan-neretin72020-04-14 23:24:27
Python
stepan-neretin7, 2020-04-14 23:24:27

Why is the discord py library working but throwing an error?

Guys, who came across the discord.py library?
AttributeError: 'ClientUser' object has no attribute 'send' is
bullshit
The code works, but it throws an error
The code itself

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soremix, 2020-04-17
@SoreMix

You get a list of users in a channel, loop through the user information in the user variable, and want to send a message on behalf of that user.
https://discordpy.readthedocs.io/en/latest/api.htm...
I can't fix it, the logic of the program is not quite clear, do you want to write hello to each user in the LAN?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question