From fa1364622c0768186eb5919dd5661c9c64c565a7 Mon Sep 17 00:00:00 2001 From: Lakshya Shastri Date: Fri, 2 Oct 2020 12:42:42 +0530 Subject: linting smh --- bot/exts/evergreen/githubinfo.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bot/exts/evergreen/githubinfo.py') diff --git a/bot/exts/evergreen/githubinfo.py b/bot/exts/evergreen/githubinfo.py index 4935e1de..b7ebcb3e 100644 --- a/bot/exts/evergreen/githubinfo.py +++ b/bot/exts/evergreen/githubinfo.py @@ -29,11 +29,10 @@ class GithubInfo(commands.Cog): """ Fetches a user's GitHub information. - User defaults to python-discord. + Username is optional and sends the help command if not specified. Usage: .gh [username] """ - if username is None: await ctx.invoke(self.bot.get_command('help'), 'github') return -- cgit v1.2.3