Skip to content
Advertisement

Tag: read-eval-print-loop

Why error handling doesn’t work in repl but in VSCode it does? discord.py

I am trying to handle errors for local commands of my discord bot and I get the following error discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: ‘Command’ object has no attribute ‘MissingRequiredArgument’ this only happens when I execute the code in repl and not in VSCode.I also tried the following Answer You should send the complete code, but if I understood

Advertisement