Python Discord Know Message de Bot
def on_message(self, message):
if (message.author.bot):
return #if this is true: then it is by a bot.
Arno Deceuninck
def on_message(self, message):
if (message.author.bot):
return #if this is true: then it is by a bot.
sent_message = channel.send(content="My message")
print(sent_message.id)