Command Scope
Defines command scopes for application commands.
Entries
Link copied to clipboard
The guild command scope, only pushes application commands to the guilds Can be filtered with @DeclarationFilter. Can be forced with forceGuildCommands and @Test
Link copied to clipboard
The global command scope, but with DMs disabled, pushes this command to the first shard This might be useful to have guild commands but without having to push them on every guild
Functions
Link copied to clipboard
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.