Skip to content

Commit

Permalink
When giving an achievement, always mention the user that received the…
Browse files Browse the repository at this point in the history
… achievement, not the user that "owns" the context
  • Loading branch information
MrPowerGamerBR committed Nov 12, 2024
1 parent 7b737fa commit a6ef436
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ object AchievementUtils {
if (wasAchievementGiven)
context.reply(ephemeral) {
styled(
content = "${context.user.asMention} **${i18nContext.get(I18nKeysData.Achievements.AchievementUnlocked)}**",
content = "${userId.asMention} **${i18nContext.get(I18nKeysData.Achievements.AchievementUnlocked)}**",
prefix = Emotes.Sparkles
)

Expand Down

0 comments on commit a6ef436

Please sign in to comment.