From 160deb1c74dc2490b153e93d054c81ebc32f338d Mon Sep 17 00:00:00 2001 From: limited_dev Date: Tue, 23 May 2023 22:57:32 +0200 Subject: [PATCH] fix: fixed typo in button event Signed-off-by: limited_dev --- src/main/kotlin/net/moonleay/lilJudd/Bot.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/net/moonleay/lilJudd/Bot.kt b/src/main/kotlin/net/moonleay/lilJudd/Bot.kt index 727943a..82caf91 100644 --- a/src/main/kotlin/net/moonleay/lilJudd/Bot.kt +++ b/src/main/kotlin/net/moonleay/lilJudd/Bot.kt @@ -99,7 +99,7 @@ object Bot { bot.kordRef.on { val inter = this.interaction val u = inter.user - Logger.out("Button interaction: ${inter.componentId} fron ${u.asUser().username}#${u.asUser().discriminator}") + Logger.out("Button interaction: ${inter.componentId} from ${u.asUser().username}#${u.asUser().discriminator}") if (inter.componentId.startsWith("public.edit.")) { val response = inter.deferPublicMessageUpdate() val g = this.interaction.getOriginalInteractionResponse().getGuild()