Wether or not this command is considered "Not Safe For Work", and therefor not allowed/made available in channels thats are not explicitely marked as NSFW.
true
, the command will only be available in NSFW channels.false
, the command will be available in all channels.Wether or not this command is ONLY enabled in the InteractionContextType.Guild context.
All of the other context options are ignored if this is set to true
, and the interaction
for the command
will be narrowed down to a "guild" interaction.
An array of guild IDs where this command is enabled.
undefined
, the command is enabled in all guilds.Default:
process.env.NODE_ENV
is production
, this defaults to undefined
.process.env.NODE_ENV
is not production
, this defaults to [appConfig.client.development_server_id]
.Wether or not this command is enabled in the InteractionContextType.BotDM context (aka DMs with the app's bot user).
Wether or not this command is enabled in the InteractionContextType.Guild context.
Default:
process.env.NODE_ENV
is production
, this defaults to true
.process.env.NODE_ENV
is not production
, this defaults to [appConfig.client.development_server_id]
.Wether or not this command is enabled in the InteractionContextType.PrivateChannel context (aka Group DMs and DMs other than the app's bot user)
Wether or not this command is enabled globally. If
false
, all other options are ignored - allowing you to "temporarily" disable a command without removing it from the codebase or changing any other options.