add nocc option

This commit is contained in:
Aine
2022-11-19 17:09:24 +02:00
parent 052fd5bb25
commit 5fe8603506
5 changed files with 22 additions and 1 deletions

View File

@@ -121,6 +121,15 @@ func (b *Bot) initCommands() commandList {
sanitizer: utils.SanitizeBoolString,
allowed: b.allowOwner,
},
{
key: roomOptionNoCC,
description: fmt.Sprintf(
"Get or set `%s` of the room (`true` - hide CC; `false` - show CC)",
roomOptionNoCC,
),
sanitizer: utils.SanitizeBoolString,
allowed: b.allowOwner,
},
{
key: roomOptionNoSubject,
description: fmt.Sprintf(