correct padding on chat broadcast

This commit is contained in:
wish
2022-08-17 23:38:09 +10:00
parent 14d3b37435
commit e0c50bb5d7

View File

@@ -80,7 +80,7 @@ func (s *Server) onDiscordMessage(ds *discordgo.Session, m *discordgo.MessageCre
return r
}, m.Author.Username))
for i := 0; i < 10-len(m.Author.Username); i++ {
for i := 0; i < 8-len(m.Author.Username); i++ {
paddedName += " "
}