1
0
Fork 0
mirror of synced 2024-06-29 03:30:57 +12:00

Corrected error in comprehension

This commit is contained in:
Phxntxm 2016-08-13 20:53:01 -05:00
parent 80ff6b31be
commit 89d5bd9a22
2 changed files with 3 additions and 1 deletions

View file

@ -44,7 +44,7 @@ class Stats:
output = "\n".join( output = "\n".join(
"{0.display_name}: {1} times".format(discord.utils.get(self.bot.get_all_members(), id=m_id), amt) for "{0.display_name}: {1} times".format(discord.utils.get(self.bot.get_all_members(), id=m_id), amt) for
m_id, amt in booped_members) m_id, amt in booped_members.items())
await self.bot.say("You have booped:```\n{}```".format(output)) await self.bot.say("You have booped:```\n{}```".format(output))
@commands.command(pass_context=True, no_pm=True) @commands.command(pass_context=True, no_pm=True)

View file

@ -1,6 +1,8 @@
from discord.ext import commands from discord.ext import commands
from .utils import config from .utils import config
from .utils import checks from .utils import checks
import re import re
import json import json