issue #6 fix DM char limit for displaying channels
This commit is contained in:
1 parent
a2be41dded
commit
c733d1f4f2
5 files changed
+31
-9
No files matched your search
+1
-1
@@ -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))
|
||||
|
||||
@@ -222,7 +222,7 @@ class PollControls:
|
||||
else:
|
||||
return
|
||||
|
||||
def item_fct(item):
|
||||
def item_fct(i,item):
|
||||
return f':black_small_square: **{item["short"]}**: {item["name"]}'
|
||||
|
||||
title = f' Listing {short} polls'
|
||||
|
||||
Reference in new issue
Block a user