Introduction: Aoba Telegram Bot written in Kotlin
More: Author   ReportBugs   


A Telegram Bot written in Kotlin language. Use rubenlagus/TelegramBots as bot base library. I made a wrapper to develop functions easily and quickly. In the future I may separate framework from this repository and publish under Apache 2.0 Licenses.

Currently only support Chinese. It's inconvenient to support multi-language.

What functions it has now?

It's still in unstable development.


  • /replace : Replace a keyword with another word in a sentence
  • /choose : Random choose a element in a list
  • /add_space / /remove_space : Add or remove spaces between chinese characters
  • /allow_game : Enable or disable bot games in a group (Need administrators)
  • /bot_statistics : Show bot statistics and running status

Now it has three games you can play in group:

  • /guess_number_game : Guess number
  • /bomb_game : Deliver bomb (Sticker)
  • /minesweeper_game : Minesweeper

Configure Bot keystore

  • Create src/main/resources/
  • Add your BOT_TOKEN and BOT_USERNAME like this:

Build and run

Intellij IDEA is optional. But I recommend use it to develop.

Use Gradle to build and run (on Linux) :

./gradlew run

For Windows users, you can also run gradlew.bat instead.

Contact me

Telegram: @fython

Donate via Alipay: (Replace # with @)

Donate via PayPal:


GPL v3

GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007

Copyright (C) 2018 Fung Gwo (fython)

This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under certain conditions.
About Me
GitHub: Trinea
Facebook: Dev Tools