Skip to content
GitHub

CommandBuilderOptions

interface in meocord/interface Since 4.1.0

interface CommandBuilderOptions

Where a command @CommandBuilder describes is registered, in place of the configured scope.

Members

guilds

guilds?: (string | undefined)[]

The servers this command is registered to, in place of the configured scope. A command whose list is empty after dropping blank ids is not registered at all, rather than falling back to global. Under a development server, it goes there with every other command.

Default: the configured scope

See also

  • CommandBuilder