#NOT WORK SAPPHIRE

1 messages · Page 1 of 1 (latest)

toxic parrotBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

#

Thank you for marking this question as solved!

Question Message ID

1085888359697756180

Solution Message ID

1085888359697756180

frank merlin
#

You say it doesn't work, but like, what even is not working?

scenic mountain
#

normal commands not work reply

frank merlin
#

What's the code? What's the error?

versed lantern
scenic mountain
#

intera and message are not working

scenic mountain
red plume
#

what's your file structure and main property set to?

scenic mountain
#

i have use extending container

#

package versions latest it is have in problem?

#

i have only slash commands use in bot

red plume
#

I mean the main property in package.json lol

#

but also that looks like a command setup for a message command not a slash command

scenic mountain
scenic mountain
#

slash review also teaching time answer an essay

#

nodejs version?

#

v18.14.2 i have node v

red plume
#

that's fine

scenic mountain
#

commands not worked

lapis kite
#

match these

lapis kite
scenic mountain
#

this code not work bro

#

"commands" folder not check working

#

i transing main file

#

now use this is working it

scenic mountain
#

I have the old version works, but in the new sapphire version (latest) it creates a problem, it does not run the commands.

#

how can i make it just use as slash?@lapis kite

#

so that it won't run with prefix?

lapis kite
#

when used correctly

lapis kite
# scenic mountain how can i make it just use as slash?<@268792781713965056>

we have extensive guides for setting up slash commands and there's even more info on https://discordjs.guide and https://discord.dev and you can also refer to other open source bots for code examples

Discord Developer Portal

Integrate your service with Discord — whether it's a bot or a game or whatever your wildest imagination can come up with.

elfin flickerBOT
#

Discord bots that use @sapphire/framework v4
_ _