It is template for common project based on several technologies:
- KTgBotAPI Kotlin Library + PlaguBot
- Kotlinx Exposed (for databases) + SQLite (as default database engine)
- Kotlin Koin (for DI)
- Replace
project_group
in whole project by your project group - Replace
project_name
in whole project by your project name
Template contains run-ready runner folder with sample.json which
you may copy as local.json
in project (file will not be indexed by git). After replacement of value in
botToken
field you may run your bot with command:
./gradlew run --args="/path/to/local.json"
where /path/to/local.json
is an absolute path to configuration json
file