fix help position in arguments

This commit is contained in:
Klemek
2021-04-22 15:20:49 +02:00
parent 5f8dfce640
commit e77e46b361
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ async def repeat(
*args: str,
add_args: List[str] = [],
):
if "help" in args:
if len(args) > 1 and args[1] == "help":
await client.bot.help(client, message, "help", args[0])
return
id = message.channel.id