aboutsummaryrefslogtreecommitdiffstats
path: root/bot/cogs/hacktober/monstersurvey.py
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2018-11-20 13:37:18 +0100
committerGravatar Leon Sandøy <[email protected]>2018-11-20 13:37:18 +0100
commitf64061773ebde98054f5036cf65d9637070b23e4 (patch)
tree0d1c36e5174f0be883df0776d0dfee8d386e41b4 /bot/cogs/hacktober/monstersurvey.py
parentMerge branch 'master' of github.com:python-discord/seasonalbot (diff)
parentNew lockfile (diff)
Merge branch 'hundredrab-master'
Diffstat (limited to '')
-rw-r--r--bot/cogs/hacktober/monstersurvey.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/bot/cogs/hacktober/monstersurvey.py b/bot/cogs/hacktober/monstersurvey.py
index 9f33e31b..45587fe1 100644
--- a/bot/cogs/hacktober/monstersurvey.py
+++ b/bot/cogs/hacktober/monstersurvey.py
@@ -1,7 +1,6 @@
import json
import logging
import os
-from typing import Optional, Union
from discord import Embed
from discord.ext import commands
@@ -91,7 +90,7 @@ class MonsterSurvey:
@monster_group.command(
name='vote'
)
- async def monster_vote(self, ctx: Context, name = None):
+ async def monster_vote(self, ctx: Context, name=None):
"""Casts a vote for a particular monster, or displays a list of monsters that can be voted for
if one is not given."""
if name is None:
@@ -133,7 +132,7 @@ class MonsterSurvey:
@monster_group.command(
name='show'
)
- async def monster_show(self, ctx: Context, name = None):
+ async def monster_show(self, ctx: Context, name=None):
"""
Shows the named monster. If one is not named, it sends the default voting embed instead.
:param ctx: