Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
GuildIds Array Empty = global command? - Sapphire - Imagine a Framework
S-IaF
Sapphire - Imagine a Framework
โข
3y ago
โข
4 replies
chillihero
GuildIds Array Empty = global command?
If i leave the guilds array empty
, does this mean the command will not be registered or will it be registered globally
?
Basically
, I want to know the behavior when providing these values
[]
[]
['']
['']
undefined
undefined
Solution
[]
[]
= global
undefined
undefined
= global
null
null
= global
['']
['']
= invalid
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
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Set global commands guildIds
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
PaginatedMessageEmbedFields empty array
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
Issue registering command on a specific guild using guildIds
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
Command option - Array of users
S-IaF
Sapphire - Imagine a Framework / sapphire-support
12mo ago