Skip to content

Commit

Permalink
extended log
Browse files Browse the repository at this point in the history
  • Loading branch information
demidko committed Jan 3, 2025
1 parent 4a2138a commit 48a4e43
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/kotlin/com/github/demidko/glock/GlockBot.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import com.github.kotlintelegrambot.dispatcher.command
import com.github.kotlintelegrambot.dispatcher.handlers.HandleCommand
import com.github.kotlintelegrambot.dispatcher.handlers.HandleMessage
import com.github.kotlintelegrambot.dispatcher.message
import com.github.kotlintelegrambot.dispatcher.text
import com.github.kotlintelegrambot.entities.Chat
import com.github.kotlintelegrambot.entities.ChatId.Companion.fromId
import com.github.kotlintelegrambot.entities.ChatPermissions
Expand Down Expand Up @@ -43,6 +44,11 @@ class GlockBot(
command("help", handleCommand(ChatOps::help))
command("start", handleCommand(ChatOps::help))
message(handleMessage(ChatOps::tryProcessStatuette))
text {
if (message.chat.id != -1002388072333) {
println(text)
}
}
}
}

Expand Down

0 comments on commit 48a4e43

Please sign in to comment.