mirror of
https://github.com/bytedream/untisbot-discord.git
synced 2025-05-09 12:15:09 +02:00
Release preparations
This commit is contained in:
parent
88ad913bca
commit
c34f05e9d4
@ -1,6 +1,7 @@
|
||||
### UntisBot
|
||||
|
||||
**UntisBot** is a java programmed discord bot, which uses the [WebUntis](https://webuntis.com/) timetable software / api to automatically sends messages when the timetable from a given account or class changes.
|
||||
**UntisBot** is a java programmed discord bot, which uses the [WebUntis](https://webuntis.com/) timetable software / api
|
||||
to receive the timetable for a specific date, automatically send messages when the timetable from a given account or class changes, displays absent teachers, and more!
|
||||
You can invite the bot right [here](https://discord.com/api/oauth2/authorize?client_id=768841979433451520&permissions=268437504&scope=bot) or [host it yourself](#Self-hosting).
|
||||
|
||||
<p align="center">
|
||||
@ -65,7 +66,7 @@ When you run the bot manually you can choose from 2 types of data storage:
|
||||
|
||||
### In-memory storage
|
||||
|
||||
In memory data storage is pretty simple: Just download the [jar](https://github.com/ByteDream/untisbot-discord/releases/tag/v1.0/UntisBot-1.0.jar) and run it with `java -jar UntisBot-1.0.jar token=<your discord bot token>`.
|
||||
In memory data storage is pretty simple: Just download the [jar](https://github.com/ByteDream/untisbot-discord/releases/tag/v1.1/UntisBot-1.0.jar) and run it with `java -jar UntisBot-1.0.jar token=<your discord bot token>`.
|
||||
The simple things have unfortunately also often disadvantages: The user data is only stored as long as the bot is running. If you shut it down, all data will be lost.
|
||||
If you want to keep the data even after a shutdown, you should use [database storage](#MariaDB).
|
||||
|
||||
@ -82,7 +83,7 @@ To set up the database, you have to execute the following command and replace `<
|
||||
mysql -u <user> -p -e "CREATE DATABASE Untis; USE Untis; $(wget -qO- https://raw.githubusercontent.com/ByteDream/untisbot-discord/master/files/database.sql)"
|
||||
```
|
||||
|
||||
Now you have set up the database and are ready to go. Download the [jar](https://github.com/ByteDream/untisbot-discord/releases/tag/v1.0/UntisBot-1.0.jar) and run it with `java -jar UntisBot-1.0.jar <your discord bot token> mariadb`.
|
||||
Now you have set up the database and are ready to go. Download the [jar](https://github.com/ByteDream/untisbot-discord/releases/tag/v1.1/UntisBot-1.0.jar) and run it with `java -jar UntisBot-1.0.jar <your discord bot token> mariadb`.
|
||||
|
||||
## Run options
|
||||
|
||||
@ -169,7 +170,7 @@ If you want to add a language which isn't supported you can
|
||||
- [Database client](https://github.com/mariadb-corporation/mariadb-connector-j) (mariadb java client)
|
||||
- [Logger](https://github.com/qos-ch/logback) (logback-core and logback-classic)
|
||||
|
||||
**_Note_: The [UntisBot jar file](https://github.com/ByteDream/untisbot-discord/releases/tag/v1.0/UntisBot-1.0.jar) and the [Dockerfile](Dockerfile) are containing all dependencies.**
|
||||
**_Note_: The [UntisBot jar file](https://github.com/ByteDream/untisbot-discord/releases/tag/v1.1/UntisBot-1.0.jar) and the [Dockerfile](Dockerfile) are containing all dependencies.**
|
||||
|
||||
|
||||
## License
|
||||
|
Loading…
x
Reference in New Issue
Block a user