Search
Star
Feedback
Setup for Free
Ā© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How can I add a slashcommand only for a specific Guild? - Sapphire - Imagine a Framework
S-IaF
Sapphire - Imagine a Framework
ā¢
4y ago
ā¢
5 replies
chillihero
How can I add a slashcommand only for a specific Guild?
I want to create a slashcommand only in a specific guild
. I tried doing so in the registery
.registerChatInputCommand but it wont let me add a
guild
guild
,
guild_id
guild_id
parameter
. any ideas
?
Solution
Because you
're not reading the docs properly
. It is in the second parameter
, not the first
.
Jump to solution
Sapphire - Imagine a Framework
Join
Sapphire is a next-gen object-oriented Discord.js bot framework.
2,261
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Issue registering command on a specific guild using guildIds
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
Register command in only specific guilds
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
Type-safety for guild-only slash commands
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
slashcommand wont appear
S-IaF
Sapphire - Imagine a Framework / sapphire-support
2y ago