Replace "clear" with "register."
This commit is contained in:
parent
216ec90646
commit
3523ffeba7
1 changed files with 3 additions and 2 deletions
|
|
@ -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"`
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue