aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/githubinfo.py
diff options
context:
space:
mode:
authorGravatar ToxicKidz <[email protected]>2021-03-19 21:25:11 -0400
committerGravatar ToxicKidz <[email protected]>2021-03-19 21:25:11 -0400
commitad3c78e7a1ed8f4c54c21ab45e85be6c18e5c63f (patch)
tree9d9d69780092b2d96ff13d9f3de90950262c0310 /bot/exts/evergreen/githubinfo.py
parentMake better aliases and follow style guidelines (diff)
Make git alias for the group instead
Diffstat (limited to 'bot/exts/evergreen/githubinfo.py')
-rw-r--r--bot/exts/evergreen/githubinfo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/evergreen/githubinfo.py b/bot/exts/evergreen/githubinfo.py
index 8dbcc681..58162e42 100644
--- a/bot/exts/evergreen/githubinfo.py
+++ b/bot/exts/evergreen/githubinfo.py
@@ -26,7 +26,7 @@ class GithubInfo(commands.Cog):
async with self.bot.http_session.get(url) as r:
return await r.json()
- @commands.group(name='github', aliases=('gh',))
+ @commands.group(name='github', aliases=('gh', 'git'))
@commands.cooldown(1, 10, BucketType.user)
async def github_group(self, ctx: commands.Context) -> None:
"""Commands for finding info related to Github."""
@@ -98,7 +98,7 @@ class GithubInfo(commands.Cog):
await ctx.send(embed=embed)
- @github_group.command(name='repository', aliases=('repo', 'git'))
+ @github_group.command(name='repository', aliases=('repo'))
async def github_repo_info(self, ctx: commands.Context, repo: str) -> None:
"""
Fetches a repositories's GitHub information. Repository should look like `user/reponame`.