diff --git a/cogs/stats.py b/cogs/stats.py index 5988b09..22c037c 100644 --- a/cogs/stats.py +++ b/cogs/stats.py @@ -44,7 +44,7 @@ class Stats: output = "\n".join( "{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)) @commands.command(pass_context=True, no_pm=True) diff --git a/cogs/strawpoll.py b/cogs/strawpoll.py index 44d2384..b30d7d3 100644 --- a/cogs/strawpoll.py +++ b/cogs/strawpoll.py @@ -1,6 +1,8 @@ from discord.ext import commands + from .utils import config from .utils import checks + import re import json