Fixed a little error

This commit is contained in:
davfsa
2018-06-16 10:04:13 +02:00
committed by GitHub
parent 79342626a2
commit 7aefcf5856
+1 -1
View File
@@ -7,7 +7,7 @@ class BotManager:
self.bot = bot self.bot = bot
async def on_message(self, message): async def on_message(self, message):
if message.channel.id is 411586546551095296: if message.channel.id == 411586546551095296:
#Its the bot-invite channel #Its the bot-invite channel
splitted_message = message.content.split(" ") splitted_message = message.content.split(" ")
await message.delete() await message.delete()