mirror of
https://github.com/Mezeporta/Erupe.git
synced 2026-02-04 17:22:16 +01:00
correct padding on chat broadcast
This commit is contained in:
@@ -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 += " "
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user