1
0
Fork 0
mirror of synced 2024-05-19 20:12:30 +12:00

Changed messsage to message. I just wanted lots of s's :c

This commit is contained in:
Phxntxm 2016-07-09 11:41:43 -05:00
parent e9bacca70d
commit eb98570d37

View file

@ -31,7 +31,7 @@ class Mod:
cursor = config.getCursor()
cursor.execute('use {}'.format(config.db_default))
try:
cursor.execute('delete from nsfw_channels where channel_id="{}"'.format(ctx.messsage.channel.id))
cursor.execute('delete from nsfw_channels where channel_id="{}"'.format(ctx.message.channel.id))
except pymysql.IntegrityError:
await self.bot.say("This channel is not registered as a ''nsfw' channel!")
return