issue #6 fix DM char limit for displaying channels

This commit is contained in:
matnad 2019-02-19 17:02:34 +01:00
parent c733d1f4f2
commit f2fdecd1cd
2 changed files with 1 additions and 2 deletions

View File

@ -20,7 +20,7 @@ class DiscordBotsOrgAPI:
while True:
logger.info('attempting to post server count')
try:
#await self.dblpy.post_server_count()
await self.dblpy.post_server_count()
logger.info('posted server count ({})'.format(len(self.bot.servers)))
except Exception as e:
logger.exception('Failed to post server count\n{}: {}'.format(type(e).__name__, e))

View File

@ -103,7 +103,6 @@ async def on_command_error(e, ctx):
# log error
logger.error(f'{type(e).__name__}: {e}\n{"".join(traceback.format_tb(e.__traceback__))}')
raise e
if SETTINGS.msg_errors:
# send discord message for unexpected errors