aboutsummaryrefslogtreecommitdiffstats
path: root/bot/cogs/hacktoberstats.py
diff options
context:
space:
mode:
authorGravatar Derek Fitzpatrick <[email protected]>2018-10-31 02:54:28 -0700
committerGravatar Derek Fitzpatrick <[email protected]>2018-10-31 02:54:28 -0700
commit755372c2f9981f9c84e534b018193fa6c5632fcb (patch)
tree5e2d53cd13efec60b488323763154577a6314474 /bot/cogs/hacktoberstats.py
parentMerge branch 'master' of https://github.com/discord-python/hacktoberbot into ... (diff)
Fixed linting issue in hacktoberstats
Diffstat (limited to 'bot/cogs/hacktoberstats.py')
-rw-r--r--bot/cogs/hacktoberstats.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/hacktoberstats.py b/bot/cogs/hacktoberstats.py
index adbc5c82..536307cc 100644
--- a/bot/cogs/hacktoberstats.py
+++ b/bot/cogs/hacktoberstats.py
@@ -22,7 +22,7 @@ class Stats:
aliases=('hacktoberstats', 'getstats', 'userstats'),
invoke_without_command=True
)
- async def hacktoberstats_group(self, ctx: commands.Context, github_username: str=None):
+ async def hacktoberstats_group(self, ctx: commands.Context, github_username: str = None):
"""
If invoked without a subcommand or github_username, get the invoking user's stats if
they've linked their Discord name to GitHub using .stats link
@@ -47,7 +47,7 @@ class Stats:
await self.get_stats(ctx, github_username)
@hacktoberstats_group.command(name="link")
- async def link_user(self, ctx: commands.Context, github_username: str=None):
+ async def link_user(self, ctx: commands.Context, github_username: str = None):
"""
Link the invoking user's Github github_username to their Discord ID