fix: fixed typo in button event
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
parent
25d3eab336
commit
160deb1c74
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ object Bot {
|
|||
bot.kordRef.on<ButtonInteractionCreateEvent> {
|
||||
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()
|
||||
|
|
Loading…
Reference in a new issue