From 3e75b20c54bf6a33e6ab34dde3a6b195687d9d00 Mon Sep 17 00:00:00 2001 From: Dustin Pianalto Date: Mon, 11 Jun 2018 18:31:08 -0800 Subject: [PATCH] Added help strings --- src/exts/git.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/exts/git.py b/src/exts/git.py index 2f2d781..7107a8c 100644 --- a/src/exts/git.py +++ b/src/exts/git.py @@ -16,7 +16,7 @@ class Git: @commands.group(case_insensitive=True, invoke_without_command=True) async def git(self, ctx): - """Run help git for more info""" + """Shows my Git link""" em = discord.Embed(style='rich', title=f'Here is where you can find my code', url='https://github.com/dustinpianalto/Geeksbot/tree/development', @@ -29,6 +29,7 @@ class Git: @git.command() @commands.is_owner() async def pull(self, ctx): + """Pulls updates from GitHub rebasing branch.""" pag = Paginator(self.bot, max_line_length=44, embed=True) pag.set_embed_meta(title='Git Pull', color=self.bot.embed_color, @@ -47,6 +48,7 @@ class Git: @git.command() @commands.is_owner() async def status(self, ctx): + """Gets status of current branch.""" pag = Paginator(self.bot, max_line_length=44, max_lines=30, embed=True) pag.set_embed_meta(title='Git Status', color=self.bot.embed_color,