start rights checker

This commit is contained in:
InsanusMokrassar 2023-02-06 08:42:20 +06:00
parent 51c2cb1b0e
commit 1c2b068a94
3 changed files with 31 additions and 1 deletions

View File

@ -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]"
```

View File

@ -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"
}

View File

@ -5,7 +5,7 @@ org.gradle.jvmargs=-Xmx768m
kotlin_version=1.7.22 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 micro_utils_version=0.16.8
serialization_version=1.4.1 serialization_version=1.4.1
ktor_version=2.2.3 ktor_version=2.2.3