Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to check if the message is from a bot or not using discord.py

def on_message(self, message):
    if (message.author.bot):
        return #if this is true: then it is by a bot.
Source by www.folkstalk.com #
 
PREVIOUS NEXT
Tagged: #check #message #bot
ADD COMMENT
Topic
Name
7+7 =