Fixed error in unnsfw command
This commit is contained in:
parent
1752c5d9f5
commit
8cf9b784b7
|
@ -27,7 +27,7 @@ class Mod:
|
||||||
|
|
||||||
@commands.command(pass_context=True)
|
@commands.command(pass_context=True)
|
||||||
@checks.isMod()
|
@checks.isMod()
|
||||||
async def unnsfw(self, ctx)
|
async def unnsfw(self, ctx):
|
||||||
"""Removes this channel as a 'nsfw' channel"""
|
"""Removes this channel as a 'nsfw' channel"""
|
||||||
cursor = config.getCursor()
|
cursor = config.getCursor()
|
||||||
cursor.execute('use {}'.format(config.db_default))
|
cursor.execute('use {}'.format(config.db_default))
|
||||||
|
|
Loading…
Reference in a new issue