fix(bot): 🐛 Missing required argument not telling to use p.help.
This commit is contained in:
+1
-1
@@ -335,7 +335,7 @@ class Payphone(commands.AutoShardedBot):
|
|||||||
|
|
||||||
elif isinstance(exception, errors.MissingRequiredArgument):
|
elif isinstance(exception, errors.MissingRequiredArgument):
|
||||||
await context.send(
|
await context.send(
|
||||||
f"❌ `{exception.param.name}` is missing. Use `{context.clean_prefix}{context.command.name}` to learn how to use it."
|
f"❌ `{exception.param.name}` is missing. Use `{context.clean_prefix}help {context.command.name}` to learn how to use it."
|
||||||
)
|
)
|
||||||
|
|
||||||
elif isinstance(exception, errors.BotMissingPermissions):
|
elif isinstance(exception, errors.BotMissingPermissions):
|
||||||
|
|||||||
Reference in New Issue
Block a user