From f11c7cf7e4b0d0dc8e6f7dabb835795588e9eecb Mon Sep 17 00:00:00 2001 From: Leon Sandøy Date: Tue, 20 Nov 2018 13:35:45 +0100 Subject: flake8 --- bot/cogs/hacktober/monstersurvey.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bot/cogs/hacktober/monstersurvey.py') 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: -- cgit v1.2.3