Optional
clearOtherEnvironment?: booleanOptional
forceSync?: booleanWhether 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.
Optional
guildId?: string | nullThe guild ID to sync commands for, or none for global
Whether to clear commands from the other environment. If
guildId
is provided, this will clear global commands, and vice versa