diff options
| author | 2018-07-27 14:44:06 +0000 | |
|---|---|---|
| committer | 2018-07-27 14:44:06 +0000 | |
| commit | b49cccf45e378c507365c9601c4f0a62e5847181 (patch) | |
| tree | 3b8276c2c97b8dff5dd771e7a37a888f5fa7ec9f | |
| parent | Merge branch 'enhancement/fix-inconsistent-cog-load-logging' into 'master' (diff) | |
| parent | Allow the tags group to fetch tags (diff) | |
Merge branch 'tag_group_get_tag' into 'master'
Allow the tags group to fetch tags
Closes #42
See merge request python-discord/projects/bot!36
| -rw-r--r-- | bot/cogs/tags.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/tags.py b/bot/cogs/tags.py index afdd6c1dc..7499b2b1c 100644 --- a/bot/cogs/tags.py +++ b/bot/cogs/tags.py @@ -151,10 +151,10 @@ class Tags: return tag_data @group(name='tags', aliases=('tag', 't'), hidden=True, invoke_without_command=True) - async def tags_group(self, ctx: Context): + async def tags_group(self, ctx: Context, *, tag_name: TagNameConverter=None): """Show all known tags, a single tag, or run a subcommand.""" - await ctx.invoke(self.get_command) + await ctx.invoke(self.get_command, tag_name=tag_name) @tags_group.command(name='get', aliases=('show', 'g')) async def get_command(self, ctx: Context, *, tag_name: TagNameConverter=None): |