how to get discord message object in python code example
Example: python discord know message from bot
def on_message(self, message):
if (message.author.bot):
return #if this is true: then it is by a bot.
def on_message(self, message):
if (message.author.bot):
return #if this is true: then it is by a bot.