update dependencies, gradle wrapper and example config

This commit is contained in:
InsanusMokrassar 2021-03-06 22:33:54 +06:00
parent 471834c3c3
commit 26199f704f
4 changed files with 21 additions and 3 deletions

3
README.md Normal file
View File

@ -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.

15
example.config.json Normal file
View File

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

View File

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

View File

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