Merge branch 'main' into charm

This commit is contained in:
Chris Sexton 2024-05-06 21:50:20 -04:00 committed by GitHub
commit 0604af4a09
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -420,6 +420,7 @@ func (p *AdminPlugin) setNick(r bot.Request) bool {
p.bot.Send(r.Conn, bot.Message, r.Msg.Channel, "I can't seem to set a new nick.") p.bot.Send(r.Conn, bot.Message, r.Msg.Channel, "I can't seem to set a new nick.")
return true return true
} }
p.cfg.Set("nick", nick)
p.bot.Send(r.Conn, bot.Message, r.Msg.Channel, fmt.Sprintf("I shall now be known as %s.", nick)) p.bot.Send(r.Conn, bot.Message, r.Msg.Channel, fmt.Sprintf("I shall now be known as %s.", nick))
return true return true
} }