aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/pagination.py4
-rw-r--r--bot/seasons/halloween/monstersurvey.py8
2 files changed, 3 insertions, 9 deletions
diff --git a/bot/pagination.py b/bot/pagination.py
index 212f9f4e..c12b6233 100644
--- a/bot/pagination.py
+++ b/bot/pagination.py
@@ -294,9 +294,7 @@ class ImagePaginator(Paginator):
self.close_page()
def add_image(self, image: str = None) -> None:
- """
- Adds an image to a page given the url.
- """
+ """Adds an image to a page given the url."""
self.images.append(image)
@classmethod
diff --git a/bot/seasons/halloween/monstersurvey.py b/bot/seasons/halloween/monstersurvey.py
index 05e86628..173ce8eb 100644
--- a/bot/seasons/halloween/monstersurvey.py
+++ b/bot/seasons/halloween/monstersurvey.py
@@ -144,9 +144,7 @@ class MonsterSurvey(Cog):
name='show'
)
async def monster_show(self, ctx: Context, name=None) -> None:
- """
- Shows the named monster. If one is not named, it sends the default voting embed instead.
- """
+ """Shows the named monster. If one is not named, it sends the default voting embed instead."""
if name is None:
await ctx.invoke(self.monster_leaderboard)
return
@@ -177,9 +175,7 @@ class MonsterSurvey(Cog):
aliases=('lb',)
)
async def monster_leaderboard(self, ctx: Context) -> None:
- """
- Shows the current standings.
- """
+ """Shows the current standings."""
async with ctx.typing():
vr = self.voter_registry
top = sorted(vr, key=lambda k: len(vr[k]['votes']), reverse=True)