Home > Software design >  ModuleNotFoundError: No module named 'discord_slash'
ModuleNotFoundError: No module named 'discord_slash'

Time:06-08

I'm trying to install a module called This is an example of what happens exactly

CodePudding user response:

You're attempting to use the legacy v3 version import of the library, available here. As of 4.0, you should be using import interactions.

Based on a comment, I understand you're watching a video from 2021, if you'd like to use a similar version you can use discord-py-slash-command 3.0.3 which is the latest release of that branch.

You can install that like this: pip install discord-py-interactions=3.0.3

I'd highly recommend you go ahead and find a newer video guide or read their Quickstart documentation here so you can have the up to date library and features.

  • Related