testing _allowed_channels

This commit is contained in:
Dustin Pianalto 2018-06-09 15:14:25 -08:00
parent 2259900dcd
commit f8fe207721

View File

@ -175,7 +175,7 @@ class Admin:
json.dumps(allowed_channels))
added = f'{added}\n{channel}'
else:
admin_log.info('Chan not found in config')
admin_log.info('Config is empty')
allowed_channels = [chnl.id]
await self.bot.db_con.execute('update guild_config set allowed_channels = $2 '
'where guild_id = $1', ctx.guild.id,