Fixes a copy and paste mistake in the docstring of in RoomNoInlines

This commit is contained in:
Yan
2023-08-24 16:09:48 +00:00
parent 429645c3a9
commit d71937a087

View File

@@ -180,7 +180,7 @@ func (b *Bot) initCommands() commandList {
key: config.RoomNoInlines,
description: fmt.Sprintf(
"Get or set `%s` of the room (`true` - ignore inline attachments; `false` - upload inline attachments)",
config.RoomNoFiles,
config.RoomNoInlines,
),
sanitizer: utils.SanitizeBoolString,
allowed: b.allowOwner,