Add toggle & togglelocal command (#3783)

This commit is contained in:
cutelisp
2025-09-05 19:56:02 +01:00
committed by GitHub
parent e9f241af71
commit 0b9c7c0c4a
3 changed files with 109 additions and 40 deletions

View File

@@ -139,8 +139,9 @@ var LocalSettings = []string{
}
var (
ErrInvalidOption = errors.New("Invalid option")
ErrInvalidValue = errors.New("Invalid value")
ErrInvalidOption = errors.New("Invalid option")
ErrInvalidValue = errors.New("Invalid value")
ErrOptNotToggleable = errors.New("Option not toggleable")
// The options that the user can set
GlobalSettings map[string]any