diff --git a/messageCreate.go b/messageCreate.go index f2eb461..ac74c64 100644 --- a/messageCreate.go +++ b/messageCreate.go @@ -26,8 +26,8 @@ func handleXPRequest(s *discordgo.Session, m *discordgo.MessageCreate) { s.ChannelMessageSend( m.ChannelID, fmt.Sprintf( - "<@%s> is now level %d. (%d XP/%d XP)", - m.Author.ID, level, xp, levelUpRequirement, + "<@%s> is now level %d. (%d XP/%d XP) [%.1f%%]", + m.Author.ID, level, xp, levelUpRequirement, float64(xp)/float64(levelUpRequirement)*100, ), ) }