def on_message(self, message):
#if message.channel.is_private:
if not isinstance(message.channel, discord.TextChannel):
return
if message.author.bot:
return
await self.process_commands(message)