Replace "clear" with "register."

This commit is contained in:
Benjamin A. Shelton 2026-10-21 19:44:38 -06:00
commit 3523ffeba7
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01

View file

@ -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"`
}