Skip to content
Sign upLog in
← Back to Community
discord slash commands
Profile icon
thinker010

When i execute my bot the discord slash commands library is not getting installed but when i do it from shell after sometime I see its deleted(idk what is happening).
pls help

Voters
Profile icon
natethemaker
Profile icon
thinker010
Comments
hotnewtop
Profile icon
DillonB07

Can you give us the link to your repl?
Edit your main post and add it in.

Profile icon
thinker010

@DillonB07
do you mean repl? But this is my main post

Profile icon
thinker010

@DillonB07
Sorry but there are many links which i cant share and cant put in env variables also.

Profile icon
DillonB07

I'm sorry, but I can't help you without viewing your code.
I don't need to see your env secrets though.

Profile icon
thinker010

@DillonB07
hey code seems to not give any errors now ...tnx for responding.

Profile icon
DillonB07

@thinker010

Glad you've fixed it(even without my help)

Profile icon
thinker010

@DillonB07
lol but idk wats happening it's just not giving any errors right now or never(pls).

Profile icon
DillonB07

@thinker010

I've already told you I can't do anything without seeing your code.
But, what discord slash commands library are you using?

Profile icon
thinker010

@DillonB07
from discord_slash import SlashCommand, SlashCommandOptionType, SlashContext

Profile icon
DillonB07

@thinker010
Have you run pip install discord_slash in the console?

Profile icon
thinker010

@DillonB07
multiple times in the shell

Profile icon
DillonB07

@thinker010

Well then, I am sorry, but I can't help you without all of the code(minus all of the .env secrets like the bot token)

Profile icon
thinker010

@DillonB07
there r links tht I can't put in env so I can't show

Profile icon
thinker010

@DillonB07
anyways it's not giving any error right now tnx