📅  最后修改于: 2022-03-11 14:45:19.252000             🧑  作者: Mango
@client.event() #Replace 'client' with whatever neccesary
async def on_command_error(ctx, error):
if isinstance(error, commands.MissingRequiredArguments):
# Replace MissingRequiredArguments with your error
ctx.send("Please pass all required arguments")