Format option value as code
This commit is contained in:
parent
0a5bc5d989
commit
10f44e621d
1 changed files with 1 additions and 1 deletions
|
|
@ -197,7 +197,7 @@ func (b *Bot) getOption(ctx context.Context, name string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (b *Bot) setOption(ctx context.Context, name, value string) {
|
func (b *Bot) setOption(ctx context.Context, name, value string) {
|
||||||
msg := "`%s` of this room set to %s"
|
msg := "`%s` of this room set to `%s`"
|
||||||
|
|
||||||
sanitizer, ok := sanitizers[name]
|
sanitizer, ok := sanitizers[name]
|
||||||
if ok {
|
if ok {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue