From deb9a53e6ee69b7599ab934a94e22547558251b0 Mon Sep 17 00:00:00 2001 From: Raatty <39517058+Raatty@users.noreply.github.com> Date: Wed, 23 May 2018 22:51:50 +1200 Subject: [PATCH] Update git.py --- src/cogs/git.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/cogs/git.py b/src/cogs/git.py index 9f42323..22d3814 100644 --- a/src/cogs/git.py +++ b/src/cogs/git.py @@ -40,11 +40,10 @@ class Git: def __init__(self, bot): self.bot = bot - @commands.group(case_insensitive=True, invoke_without_subcommand=True) + @commands.group(case_insensitive=True, invoke_without_command=True) async def git(self, ctx): """Run help git for more info""" - if ctx.invoked_subcommand is None: - ctx.send('https://github.com/Annihilator708/Sebi-Machine/') + ctx.send('https://github.com/Annihilator708/Sebi-Machine/') @git.command() async def pull(self, ctx):