From d0f7d8d7840beea04b1c58acc24e61491cc6f2e9 Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Fri, 19 Aug 2016 18:02:46 -0500 Subject: [PATCH] Corrected syntax error --- cogs/steam.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cogs/steam.py b/cogs/steam.py index 0624b40..5667b4a 100644 --- a/cogs/steam.py +++ b/cogs/steam.py @@ -85,7 +85,7 @@ class Steam: @commands.group(pass_context=True, invoke_without_command=True) @checks.custom_perms(send_messages=True) - async def steam(self, ctx, member: discord.Member, *option: str=None): + async def steam(self, ctx, member: discord.Member, *option: str): """Handles linking/looking information for a certain user Call this command by itself with a user, to view some information about that user's steam account, if it is linked @@ -96,8 +96,6 @@ class Steam: except AttributeError: await self.bot.say("Sorry, but I don't have that user's steam account saved!") return - if option is None: - option = ['info'] # Set the url based on which option is provided if option[0] == "info": url = "{}/ISteamUser/GetPlayerSummaries/v0002/?key={}&steamids={}".format(base_url, self.key, steam_id)