diff options
| author | 2020-02-19 21:02:55 +0200 | |
|---|---|---|
| committer | 2020-02-19 21:02:55 +0200 | |
| commit | f192e02d5c3c1511107e683aac22235825a33806 (patch) | |
| tree | ccf7d6fb5e147d61ff3fa97a5fbf6ce372092b7d | |
| parent | Merge 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.py | 3 |
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: """ |