start rights checker
This commit is contained in:
parent
51c2cb1b0e
commit
1c2b068a94
|
@ -0,0 +1,9 @@
|
|||
# RightsChanger
|
||||
|
||||
Use `/start` with bot to get request buttons. Bot will ask you to choose user/chat from your list and send it to him.
|
||||
|
||||
## Launch
|
||||
|
||||
```bash
|
||||
../gradlew run --args="BOT_TOKEN[ optional/folder/path]"
|
||||
```
|
|
@ -0,0 +1,21 @@
|
|||
buildscript {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'kotlin'
|
||||
apply plugin: 'application'
|
||||
|
||||
mainClassName="RightsChangerKt"
|
||||
|
||||
|
||||
dependencies {
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||||
|
||||
implementation "dev.inmo:tgbotapi:$telegram_bot_api_version"
|
||||
}
|
|
@ -5,7 +5,7 @@ org.gradle.jvmargs=-Xmx768m
|
|||
|
||||
|
||||
kotlin_version=1.7.22
|
||||
telegram_bot_api_version=5.1.0
|
||||
telegram_bot_api_version=5.1.0-branch_5.1.0-build1410
|
||||
micro_utils_version=0.16.8
|
||||
serialization_version=1.4.1
|
||||
ktor_version=2.2.3
|
||||
|
|
Loading…
Reference in New Issue