It will help you convert and format ISBNs.
You can control it by sending these commands:
- /convert ISBN - convert the ISBN13 to ISBN10 and vice versa
- /format ISBN - format the ISBN13 or ISBN10
Use BOT_TOKEN
environment variable to provide your bot authentication token.
You can learn about authorizing token in this document.
- Linux:
./gradlew clean build
- Windows:
gradlew.bat clean build
- Linux:
./gradlew run
or just./gradlew
- Windows:
gradlew.bat run
or justgradlew.bat
- Build the application
docker build -t isbn-telegram-bot .
docker run -ti --rm -e BOT_TOKEN=<BOT_TOKEN> isbn-telegram-bot
You can learn about deploying on Heroku in this document.