diff --git a/internal/settings/settings.go b/internal/settings/settings.go index 18ba9e8..60b419d 100644 --- a/internal/settings/settings.go +++ b/internal/settings/settings.go @@ -103,10 +103,11 @@ type Translations struct { type Debug struct { Commands struct { + // Register bot commands with Telegram. If false and `Reset` is true, + // commands will be removed and not re-added. + Register bool `toml:"register"` // Resets the command list by deleting all existing commands. Reset bool `toml:"reset"` - // Clears the bot's commands and doesn't re-add them. - Clear bool `toml:"clear"` } `toml:"commands"` }