We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adfda5f commit 079d630Copy full SHA for 079d630
1 file changed
monty/exts/info/github/cog.py
@@ -20,6 +20,7 @@
20
from monty.events import MessageContext, MontyEvent
21
from monty.log import get_logger
22
from monty.utils import responses, scheduling
23
+from monty.utils.extensions import invoke_help_command
24
from monty.utils.messages import DeleteButton, suppress_embeds
25
26
from . import _handlers as github_handlers
@@ -317,6 +318,10 @@ def sort_key(item: ghretos.GitHubResource) -> tuple:
317
318
)
319
async def github_group(self, ctx: commands.Context, *args) -> None:
320
"""Group for GitHub related commands."""
321
+ if not args:
322
+ await invoke_help_command(ctx)
323
+ return
324
+
325
# Shortcut user:
326
# Intentionally match 2 on the args here
327
# Allow messages such as !github username extra words
0 commit comments