Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
For commands - use the commands extension, don't reinvent the wheel:
https://discordpy.readthedocs.io/en/stable/ext/com...
For events - as said before - check if the author is a bot:
if message.author.bot:
return
Check the sender of the message. If the message was sent by a bot, ignore it.
https://discordpy.readthedocs.io/en/latest/api.htm...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question