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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ class BotManager:
self.bot = bot
async def on_message(self, message):
if message.channel.id is 411586546551095296:
if message.channel.id == 411586546551095296:
#Its the bot-invite channel
splitted_message = message.content.split(" ")
await message.delete()