Test

annotation class Test(val guildIds: LongArray = [], val append: Boolean = false)(source)

Defines an annotated application command as being test-only.

This means this application command will only be pushed in guilds defined by BApplicationConfig.testGuildIds and guildIds.

Note: This only applies to top-level commands, for slash commands, this means the annotation needs to be used alongside @TopLevelSlashCommandData.

Properties

Link copied to clipboard
val append: Boolean = false

Whether this should be added to the list of existing test guild IDs

Link copied to clipboard

Specifies the Guild IDs in which the command should try to be inserted in