#Issures with my commands
1 messages · Page 1 of 1 (latest)
Can you be a bit more specific? What doesn’t work? Do you have an interactionCreate event?
All my commands don't work bots online
all code looks good
And yes I do have an iteraction create event
Then show that code
It looks normal
no console errors
sept for strictquerry shit that I don't have to worry about
for mongo
Is it the text
?
idk
You don’t actually call the command you get from the collection. You just get it and that‘s it… you need to call it for it to do something
What? Read what I said again. You‘re missing the part where you actually call the command file‘s function. Your interactionCreate event currently just checks if the command exists, sends an error if it doesn’t but doesn’t do anything if it does exist
Yeah It uset to have a dev only
part
In it
Ill send it but after that ima go to bed and get some sleep
if (command.developer && interaction.user.id !=devid) {
return interaction.reply({
embeds: [
new EmbedBuilder()
.setColor("#AB8062")
.setDescription(':warning: | This command is for Develepors only')
],
ephemeral: true
});
}