slash command issue
I have command called
/ping
and its loaded correctly but my bot is not showing/can't it
17 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by OPso do you register the commands to discord?
how do i do that?
now what, i did it and it succeeded
and still cant use the command
thats the command
did you refresh your discord client
yep i did
And what isnt working
Does the command show up at all
it doesnt
Then log to see what you are deploying
Loading 1 commands from commands\utility
[
{
id: 'id',
application_id: 'id',
version: '1284912689256202405',
default_member_permissions: null,
type: 1,
name: 'ping',
name_localizations: null,
description: 'Replies with Pong!',
description_localizations: null,
dm_permission: true,
contexts: null,
integration_types: [ 0 ],
nsfw: false
}
]
Successfully reloaded 1 application (/) commands.
there is the response
i did both :pepehmm:
so i have to require the guild id?
:method: SlashCommandBuilder#setIntegrationTypes()
@1.9.0
Sets the integration types of this command.i have both enabled and tried in guild
?
and what about the user install? sorry for bothering you
ty