Type Alias SyncCommandOptions

SyncCommandOptions: {
    clearOtherEnvironment?: boolean;
    forceSync?: boolean;
    guildId?: string | null;
}

Type declaration

  • OptionalclearOtherEnvironment?: boolean

    Whether to clear commands from the other environment. If guildId is provided, this will clear global commands, and vice versa

  • OptionalforceSync?: boolean

    Whether to force sync commands, even if they are already in sync. Useful if you run multiple code bases on the same (development) bot (user) account.

  • OptionalguildId?: string | null

    The guild ID to sync commands for, or none for global