Commit graph

13 commits

Author SHA1 Message Date
Jannover5000r
c9a5dd2ff5 fixed the account creation 2025-11-14 09:10:35 +01:00
Jannover5000r
74297067d8 Accounts.json will now be saved in the accounts directory 2025-11-14 08:44:40 +01:00
Jannover5000r
c29389e8f2 new changes to notification system 2025-11-13 10:13:54 +01:00
Jannover5000r
4d04da7f78 !WebHook works now 2025-10-31 10:16:47 +01:00
Jannover5000r
7646684136 changed message and added toggle for default message 2025-10-30 20:00:58 +01:00
google-labs-jules[bot]
8b42761cf0 feat: Implement timetable fetching in checkTimetableChangesForUser
This commit resolves the TODO in the `checkTimetableChangesForUser` function in `Botrun/BotStart.go`.

The new implementation fetches the user's timetable by calling the `Untis.Auth` and `Untis.Timetable` functions. It then compares the new timetable with the previous one and sends a notification if there are any changes.

As part of this change, the `Bot` directory was renamed to `Untis` to follow Go conventions, and the import paths were updated in `Botrun/BotStart.go` and `main.go`. The `.gitignore` file was also updated to ignore the build artifact.
2025-10-20 02:17:00 +00:00
Jannover5000r
2c0c1b289b changed readme and gitignore to updated features
-added deleteaccount command with alias removeaccount
2025-10-10 12:53:43 +02:00
google-labs-jules[bot]
6c33d1a410 feat: Implement multi-user timetable tracking and notifications
Refactors the application to support multiple users for timetable logging.

- User accounts added via a Discord command are now stored in `accounts.json`.
- The main scheduling loop now fetches timetables for all registered users, in addition to the default user defined in the `.env` file.
- Notifications for registered users are now sent as direct messages, providing personalized updates. The default user continues to use the existing webhook.
- User-specific data files (e.g., `timetable_filled_<userID>.json`) are now used to keep each user's data separate.
- Error handling has been improved to prevent the application from crashing if an operation fails for a single user.
2025-10-10 10:10:15 +00:00
Jannover5000r
65d88f8c27 fixed .env loading 2025-08-26 01:47:23 +02:00
Jannover5000r
87887832c8 updated room discord message 2025-08-19 08:54:31 +02:00
Jannover5000r
81c9a496c0 Full bot functionality and multi user support 2025-08-10 11:38:31 +02:00
Jannover5000r
ac69fb6780 added encryption based pasword storing 2025-08-05 00:10:38 +02:00
Jannover5000r
b8d9cb5c82 Bot start 2025-07-27 19:25:35 +02:00