def on_message(self, message): if (message.author.bot): return #if this is true: then it is by a bot.