mirror of
https://github.com/bytedream/untisbot-discord.git
synced 2025-05-09 20:25:09 +02:00
Add info
command
This commit is contained in:
parent
f19369d338
commit
575058f541
@ -27,6 +27,7 @@ To see all available commands and get infos about it, simply type `help`.
|
|||||||
| `channel` | In the channel where this command is entered, the bot shows the timetable changes | `channel` | - |
|
| `channel` | In the channel where this command is entered, the bot shows the timetable changes | `channel` | - |
|
||||||
| `clear` | Clears the given untis data, given from the `data` command | `clear` | - |
|
| `clear` | Clears the given untis data, given from the `data` command | `clear` | - |
|
||||||
| `data <username> <password> <login page url> [class name]` | Sets the data with which the bot logs in to untis and checks for timetable changes. The data is stored encrypted on the server. `username` and `password` are the normal untis login data with which one also logs in to the untis website / app. To gain the login page url you have to go to webuntis.com, type in your school and choose it. Then you will be redirected to the untis login page, The url of this page is the login page url, for example `https://example.webuntis.com/WebUntis/?school=myschool#/basic/main`. `class name` is just the name of the class you want to check (eg. `12AB`). As `class name` you can use any class from your school. If it isn't specified, the bot tries to get the default class which is assigned to the given account. | `data myname secure https://example.webuntis.com/WebUntis/?school=example#/basic/main 12AB` | - |
|
| `data <username> <password> <login page url> [class name]` | Sets the data with which the bot logs in to untis and checks for timetable changes. The data is stored encrypted on the server. `username` and `password` are the normal untis login data with which one also logs in to the untis website / app. To gain the login page url you have to go to webuntis.com, type in your school and choose it. Then you will be redirected to the untis login page, The url of this page is the login page url, for example `https://example.webuntis.com/WebUntis/?school=myschool#/basic/main`. `class name` is just the name of the class you want to check (eg. `12AB`). As `class name` you can use any class from your school. If it isn't specified, the bot tries to get the default class which is assigned to the given account. | `data myname secure https://example.webuntis.com/WebUntis/?school=example#/basic/main 12AB` | - |
|
||||||
|
| `info` | Displays information about the bot | `info` | - |
|
||||||
| `help [command]` | Displays help to a given command | `help data` | - |
|
| `help [command]` | Displays help to a given command | `help data` | - |
|
||||||
| `language <language>` | Changes the language in which the timetable information are displayed. Currently only `de` (german) and `en` (english) are supported | `language de` | `en` |
|
| `language <language>` | Changes the language in which the timetable information are displayed. Currently only `de` (german) and `en` (english) are supported | `language de` | `en` |
|
||||||
| `prefix <new prefix>` | Changes the prefix with which commands are called | `prefix $` | `!untis ` |
|
| `prefix <new prefix>` | Changes the prefix with which commands are called | `prefix $` | `!untis ` |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user