aboutsummaryrefslogtreecommitdiffstats
path: root/bot/cogs/hacktober
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2018-11-20 02:03:07 +0100
committerGravatar Leon Sandøy <[email protected]>2018-11-20 02:03:07 +0100
commit1025b0bca5846a4fb34ffb30333ffa9df7978ae0 (patch)
treecd5c0b6b9f3bea2845217ac168001af8ea9690e9 /bot/cogs/hacktober
parentAdd badges to README (diff)
Reverting changes on the conflicting file.
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 0755503c..092e5ca8 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