Discord bot error

Every time I do a discord python bot I get this error

Traceback (most recent call last):

File “main.py”, line 4, in from discord slash import SlashComma

nd, SlashContext

ModuleNotFoundError: No module named ‘discord_slash’
Project: https://replit.com/@Bearcat19/DiscordBot

I believe discord_slash is a legacy module, try import interactions, the up-to-date slash commands library.

I recommend the following quick-start guide from the official documentation to get up and running, the syntax is almost the same but has a few differences. If you’re following a YouTube tutorial using discord_slash, it’s out of date.

https://discord-interactions.readthedocs.io/en/latest/quickstart.html

It didn’t work I tried the tutorial and it didn’t help at all :frowning:

Also, I am using chatGPT to code it