https://github.com/kaktushose/notruf-bot
Custom bot for the official Discord server of the game Notruf 112 - Die Feuerwehrsimulation 2
https://github.com/kaktushose/notruf-bot
bot discord-bot java jda-bot jda-discord-bot slash-commands
Last synced: over 1 year ago
JSON representation
Custom bot for the official Discord server of the game Notruf 112 - Die Feuerwehrsimulation 2
- Host: GitHub
- URL: https://github.com/kaktushose/notruf-bot
- Owner: Kaktushose
- License: apache-2.0
- Created: 2022-07-04T10:23:25.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-28T15:41:25.000Z (almost 2 years ago)
- Last Synced: 2025-02-05T20:34:47.740Z (over 1 year ago)
- Topics: bot, discord-bot, java, jda-bot, jda-discord-bot, slash-commands
- Language: Java
- Homepage:
- Size: 118 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/Kaktushose/LanguageBot/actions/workflows/ci.yml)
[]()
# Notruf Bot
This bot was created specifically for the official Discord [server](https://discord.gg/Ac2tRYG) of the game [Notruf 112 - Die Feuerwehrsimulation 2](https://store.steampowered.com/app/785770/Notruf_112__Die_Feuerwehr_Simulation_2).
It's only purpose is to add roles to users and to manage bug reports.
- Use `/opt out ` to mute the english/german announcement channels
- Use `/reset` to reset your settings
## Installation
The bot is private, but you can compile and host your own version.
### 0. Prerequisites
Make sure to have the following things up and running:
- Java 17
- Maven
- git
### 1. Clone the repository
```
git clone https://github.com/Kaktushose/Levelbot.git
```
### 2. Configuration
- Open the `config.json` file and insert you values:
```json
{
"token": "", // the bot token
"guildId": -1, // id of the guild the bot will be running on
"reportCategoryId": // id of the parent category of the report channel
"reportChannelId": // the report channel to send reports to
"englishRoleId": -1, // id of the role used to opt out of english announcments
"germanRoleId": -1 // id of the role used to opt out of german announcments
}
```
- Copy the files `embeds_de.json` and `embeds_en.json` from the repository folder to the location where the jar will run.
- Optionally you can configure the localization of the slash commands by editing the `commands_de.properties` located at `NotrufBot/src/main/resources/` or add more localizations.
### 3. Build and run the jar
Once you are done with all configuration steps, you can build the jar and run it:
```
mvn clean package
```
```
java -jar Notruf-Bot-1.0.0.jar
```
## Contributing
If you believe that something is missing, and you want to add it yourself, feel free to open a pull request.