Skip to content

Commit

Permalink
Fix unused parameter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxr1998 committed Feb 7, 2023
1 parent b4d1d6a commit 64261dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/de/maxr1998/diskord/BaseBot.kt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ abstract class BaseBot : KoinComponent {
databaseHelpers.createSchemas()

bot(config.botToken) {
registerModule { dispatcher, context, configuring ->
registerModule { dispatcher, context, _ ->
dispatcher.onReady {
context.onReady()
}
Expand All @@ -44,7 +44,7 @@ abstract class BaseBot : KoinComponent {
setupStaticCommands(this@bot)
}

registerModule { dispatcher, context, configuring ->
registerModule { dispatcher, context, _ ->
dispatcher.onMessageReactionAdd { reaction ->
context.onMessageReaction(reaction)
}
Expand Down

0 comments on commit 64261dc

Please sign in to comment.