mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-13 15:34:38 +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