update examples for ktgbotapi 38.0.0

This commit is contained in:
InsanusMokrassar committed 2026-11-26 12:28:56 +06:00
1 parent d0da6c851b
commit 97b4391495
86 files changed
+888 -370

No files matched your search

+1 -5
View File
@@ -43,7 +43,7 @@ chat and client that support them.
## Run
The intended command from the repository root is:
Run from the repository root:
```bash
./gradlew :PollsBot:run --args="BOT_TOKEN"
@@ -51,7 +51,3 @@ The intended command from the repository root is:
The first argument is the required token. An optional exact `debug` argument in any
later position enables formatted logging; other arguments are ignored.
Known issue: `build.gradle` currently names `HelloBotKt` as the main class, while
this source's entry point is `PollsBotKt`; the `run` task cannot start until that
Gradle setting is corrected.
+1 -1
View File
@@ -11,7 +11,7 @@ buildscript {
apply plugin: 'kotlin'
apply plugin: 'application'
mainClassName="HelloBotKt"
application.mainClass = "PollsBotKt"
dependencies {