https://github.com/mdelapenya/savagedicebot-telegram
A Telegram bot for rolling Savage Worlds dice
https://github.com/mdelapenya/savagedicebot-telegram
dice-roller savage-worlds telegram telegram-bot
Last synced: 18 days ago
JSON representation
A Telegram bot for rolling Savage Worlds dice
- Host: GitHub
- URL: https://github.com/mdelapenya/savagedicebot-telegram
- Owner: mdelapenya
- Created: 2020-04-13T07:04:43.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-13T15:14:49.000Z (about 6 years ago)
- Last Synced: 2026-06-14T01:33:50.205Z (18 days ago)
- Topics: dice-roller, savage-worlds, telegram, telegram-bot
- Language: Java
- Size: 11 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SavageDiceBot

[](https://codecov.io/gh/mdelapenya/savagedicebot-telegram)
This Telegram bot allows rolling one or more savage worlds RPG dice.
## Building the project
The project uses a Gradle wrapper, so it's required to install the following build dependencies:
- Java JDK 8 or above
- An Java-based IDE, such as IntelliJ
To connect to Telegram APIs you will need a valid token, please create a `.env` file at the root directory of your project (is excluded by Git), it will be used to communicate with Telegram. Please see [sample.env](./sample.env).
### Compiling the project
- Linux or Mac:
```shell
$ ./gradlew compileJava
```
- Windows:
```shell
$ ./gradlew.bat compileJava
```
### Packaging:
- Linux or Mac:
```shell
$ ./gradlew jar
```
- Windows:
```shell
$ ./gradlew.bat jar
```
The result will be a .JAR file located in the `build/libs` directory (ignored by Git)
## Test execution
Unit tests are located under the `test` directory:
- Linux or Mac:
```shell
$ ./gradlew test
```
- Windows:
```shell
$ ./gradlew.bat test
```