ImportError: cannot import name 'InvalidArgument' from 'discord' #7875
-
Hello. How can I fix this? Log: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
We do generally not give support for third-party libraries such as The In the future please consider joining the official discord.py server and using the |
Beta Was this translation helpful? Give feedback.
We do generally not give support for third-party libraries such as
discord_slash
here.The
InvalidArgument
error was removed recently in favor of built-in exceptions, meaning the developer of this package would need to update it, or preferably you should switch to the officially supported way of creating slash commands. There are some examples in this gist: https://gist.github.com/Rapptz/c4324f17a80c94776832430007ad40e6#slash-commands-and-context-menu-commandsIn the future please consider joining the official discord.py server and using the
?tester
command to be notified of breaking changes ahead of time.