From 9b917abe055fff43a8b81e92ec23c271e8900c17 Mon Sep 17 00:00:00 2001 From: MrPowerGamerBR Date: Sat, 9 Nov 2024 23:43:25 -0300 Subject: [PATCH] Remove unnecessary user discriminators from "/rep delete" --- .../loritta/morenitta/interactions/vanilla/social/RepCommand.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loritta-bot-discord/src/main/kotlin/net/perfectdreams/loritta/morenitta/interactions/vanilla/social/RepCommand.kt b/loritta-bot-discord/src/main/kotlin/net/perfectdreams/loritta/morenitta/interactions/vanilla/social/RepCommand.kt index 50757f7283..dee56d5de4 100644 --- a/loritta-bot-discord/src/main/kotlin/net/perfectdreams/loritta/morenitta/interactions/vanilla/social/RepCommand.kt +++ b/loritta-bot-discord/src/main/kotlin/net/perfectdreams/loritta/morenitta/interactions/vanilla/social/RepCommand.kt @@ -188,7 +188,7 @@ class RepCommand(val loritta: LorittaBot) : SlashCommandDeclarationWrapper { if (user == null) append("Unknown: ") else - append("${user.name}#${user.discriminator}: ") + append("${user.name}: ") val reputationContent = reputation.content if (reputationContent != null) {