diff --git a/RightsChangerBot/README.md b/RightsChangerBot/README.md new file mode 100644 index 0000000..b12ca97 --- /dev/null +++ b/RightsChangerBot/README.md @@ -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]" +``` diff --git a/RightsChangerBot/build.gradle b/RightsChangerBot/build.gradle new file mode 100644 index 0000000..1a34bb6 --- /dev/null +++ b/RightsChangerBot/build.gradle @@ -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" +} diff --git a/gradle.properties b/gradle.properties index 088dac6..6901741 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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