diff options
author | 2018-11-20 13:35:45 +0100 | |
---|---|---|
committer | 2018-11-20 13:35:45 +0100 | |
commit | f11c7cf7e4b0d0dc8e6f7dabb835795588e9eecb (patch) | |
tree | e6bacfbf899ee25062e0972c70f03f40d0254c17 /bot/cogs/hacktober/monstersurvey.py | |
parent | Cleaning up bats a bit (diff) |
flake8
Diffstat (limited to 'bot/cogs/hacktober/monstersurvey.py')
-rw-r--r-- | bot/cogs/hacktober/monstersurvey.py | 5 |
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: |