aboutsummaryrefslogtreecommitdiffstats
path: root/bot/cogs/hacktober
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2018-11-20 02:07:47 +0100
committerGravatar Leon Sandøy <[email protected]>2018-11-20 02:07:47 +0100
commit76bd39a98e8b67cec0affc41c790c1b065bc6fb0 (patch)
tree12c6959b7ec47238284be0133eeb7187b3161c70 /bot/cogs/hacktober
parentAdding the files this PR was supposed to have (diff)
parentResolved PR comments. (diff)
Merge branch 'vote-monster-refactor' of https://github.com/dfitzpatrick/hacktoberbot into dfitzpatrick-vote-monster-refactor
Diffstat (limited to 'bot/cogs/hacktober')
-rw-r--r--bot/cogs/hacktober/hacktoberstats.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/hacktober/hacktoberstats.py b/bot/cogs/hacktober/hacktoberstats.py
index 092e5ca8..0755503c 100644
--- a/bot/cogs/hacktober/hacktoberstats.py
+++ b/bot/cogs/hacktober/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