From 26199f704f5824b0456758e2619f389d5e64bbdb Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sat, 6 Mar 2021 22:33:54 +0600 Subject: [PATCH] update dependencies, gradle wrapper and example config --- README.md | 3 +++ example.config.json | 15 +++++++++++++++ gradle.properties | 4 ++-- gradle/wrapper/gradle-wrapper.properties | 2 +- 4 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 README.md create mode 100644 example.config.json diff --git a/README.md b/README.md new file mode 100644 index 0000000..4738068 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Configurable Inline Bot + +This bot was created for helping with other bot commands templating, but it also can be used in other ways. diff --git a/example.config.json b/example.config.json new file mode 100644 index 0000000..1a76f84 --- /dev/null +++ b/example.config.json @@ -0,0 +1,15 @@ +{ + "botToken": "bot token from @BotFather", + "apiUrl": "(optional) can be used if you are using your bot server", + "clientConfig": { + "proxy": { + "host": "localhost", + "port": 1080, + "username": "optional", + "password": "optional" + }, + "connectTimeout": "(optional) number, milliseconds", + "writeTimeout": "(optional) number, milliseconds", + "readTimeout": "(optional) number, milliseconds" + } +} \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 0c57fe4..952a3d6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,8 +1,8 @@ kotlin.code.style=official kotlin_version=1.4.31 -telegram_bot_api_version=0.32.8 -ktor_version=1.5.1 +telegram_bot_api_version=0.32.9 +ktor_version=1.5.2 library_version=0.0.2 library_group=dev.inmo diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 1eda5cf..de45572 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip