Code help, slash command

Hello, I need help with this

Traceback (most recent call last):
  File "", line 3, in <module>
    from discord_slash import SlashCommand
ModuleNotFoundError: No module named 'discord_slash'

My py:

import discord
from discord.ext import commands
from discord_slash import SlashCommand
from discord_slash.utils.manage_commands import create_option

intents = discord.Intents.default()
intents.typing = False
intents.presences = False

bot = commands.Bot(command_prefix='!', intents=intents)
slash = SlashCommand(bot)

can you go to shell and try typing pip install -U discord-py-slash-command rq?

1 Like now supports slash commands natively, so there is no need to use an external lib. (If you are using a tutorial it is probably very outdated and I recommend finding a more recent one)


it does? iirc I read the like entire danny leaving development of and it said that he left because he was dissatisfied by slash commands and left before it was implemented, do you mean like nextcord or smth supporting it?