Skip to content

Commit

Permalink
Update CountingListener.kt
Browse files Browse the repository at this point in the history
Changed to use the event and its author
  • Loading branch information
Dawsson authored May 12, 2024
1 parent 4020a2c commit c2e1620
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class CountingListener: ListenerAdapter() {

val insultMessage = CountingInsults.doubleCountInsults.random()

event.message.reply("$insultMessage The count has been reset to 1.").queue()
event.message.reply("$insultMessage ${event.author.asMention}, The count has been reset to 1.").queue()

fuckedUp(event.author)
}
Expand All @@ -73,7 +73,7 @@ class CountingListener: ListenerAdapter() {

val insultMessage = CountingInsults.fuckedUpInsults.random()

event.message.reply("$insultMessage ${lastCount?.author?.asMention}, The next number was $next, not $evaluated.").queue()
event.message.reply("$insultMessage ${event.author.asMention}, The next number was $next, not $evaluated.").queue()
}
}
}
Expand Down

0 comments on commit c2e1620

Please sign in to comment.