aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar F4zii <[email protected]>2020-02-19 21:02:55 +0200
committerGravatar F4zii <[email protected]>2020-02-19 21:02:55 +0200
commitf192e02d5c3c1511107e683aac22235825a33806 (patch)
treeccf7d6fb5e147d61ff3fa97a5fbf6ce372092b7d
parentMerge branches 'feat/F4zi/CommandSuggestion' and 'master' of https://github.c... (diff)
Deletion of the consuming rest (*) used in _get_command
Since its used to get the input of the command, its not needed again In the function (callback) call
-rw-r--r--bot/cogs/tags.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bot/cogs/tags.py b/bot/cogs/tags.py
index 61cf55d65..65d25124a 100644
--- a/bot/cogs/tags.py
+++ b/bot/cogs/tags.py
@@ -92,8 +92,7 @@ class Tags(Cog):
"""Show all known tags, a single tag, or run a subcommand."""
await ctx.invoke(self.get_command, tag_name=tag_name)
- async def _get_command(self, ctx: Context, *, tag_name: TagNameConverter = None) -> None:
- log.debug(self, ctx, tag_name)
+ async def _get_command(self, ctx: Context, tag_name: TagNameConverter = None) -> None:
def _command_on_cooldown(tag_name: str) -> bool:
"""