| ... | ... | @@ -7,3 +7,18 @@ Give information of what all possible commands are and what they do in Discord i |
|
|
|
>`/showcalendar`
|
|
|
|
|
|
|
|
If the command is issued, the bot will return the nearest 10 events planned. It is default limited to 10 so the response time is as quick as possible. It returns a list where each event name, date and decription is put in a [Discord embedded message](https://discordjs.guide/popular-topics/embeds.html#embed-preview)
|
|
|
|
|
|
|
|
## Add an Event
|
|
|
|
>`/calendar [name] [date] [time]`
|
|
|
|
|
|
|
|
With this command every body can add an event to the calendar. Currently there is no limit on added but it is a possible extention. When this command is issued with the manditory parameters, it will be stored in the database.
|
|
|
|
|
|
|
|
## Delete an Event
|
|
|
|
>`/deleteevent [name] [date]`
|
|
|
|
|
|
|
|
**This command can only be issued by the one who have the correct authorization or correct role.** The user gives the name and date, and it will be deleted in the database.
|
|
|
|
|
|
|
|
## Update an Event **(Not implemented yet)**
|
|
|
|
>`/updateevent [name] [date] [time] (newName) (newDate) (newTime)`
|
|
|
|
|
|
|
|
**This command can only be issued by the one who have the correct authorization or correct role.** The user gives the name, date and time of the old event, and the possible new values. After that the program updates the event and if there was no new value given the old one will be used. |
|
|
\ No newline at end of file |