Commit graph

77 commits

Author SHA1 Message Date
63fb1c0c8f feat: added DeclineEditButton
Signed-off-by: moonleay <contact@moonleay.net>
2023-09-11 12:47:31 +02:00
308da65105 feat: improved function of AcceptEditButton
Signed-off-by: moonleay <contact@moonleay.net>
2023-09-11 12:47:06 +02:00
9400a21403 feat: added Unavailable to MatchExtension table
Signed-off-by: moonleay <contact@moonleay.net>
2023-09-11 12:46:33 +02:00
f7b701de20 feat: improved replaceXWithYinValuesAtTable function, edited MatchButtons
Signed-off-by: moonleay <contact@moonleay.net>
2023-09-11 12:45:51 +02:00
165e1d342c feat: improved getAClonedEmbed function, added an equivalent using a EmbedBuilder
Signed-off-by: moonleay <contact@moonleay.net>
2023-09-11 12:44:34 +02:00
a3c1344f1a feat: Roles now update on button press
Signed-off-by: moonleay <contact@moonleay.net>
2023-09-06 22:09:59 +02:00
f552ea4faa chore: improved readability
Signed-off-by: moonleay <contact@moonleay.net>
2023-09-06 22:06:14 +02:00
d10f8901c9 fix: fixed AvailabilityManager
Signed-off-by: moonleay <contact@moonleay.net>
2023-09-06 22:05:29 +02:00
925398db65 fix: fixed weekstamp
Signed-off-by: moonleay <contact@moonleay.net>
2023-09-06 22:03:50 +02:00
b258747086 chore: improved imports
Signed-off-by: moonleay <contact@moonleay.net>
2023-09-06 21:59:41 +02:00
c663641e42 fix: fixed AvailabilityManager not being able to set the right roles
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-13 00:58:43 +02:00
6b0bf40e0a feat: added MatchExtension, added MatchManager updater
chore: updated comments

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:28:24 +02:00
9fa7f38228 feat: added MatchJob to clean up roles
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:26:27 +02:00
9099d02bf4 feat: added getMatchButtons to EmbedUtil
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:26:00 +02:00
ef28b08214 feat: added cronjob system
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:25:03 +02:00
187da815e2 feat: added CancelEditButton
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:24:12 +02:00
e04956a800 feat: added SignMeUpEditButton
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:24:04 +02:00
ad99e2767e feat: updated buttons and ButtonManager
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:23:03 +02:00
407f0ff1ea feat: changed EditButton to an interface
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:21:08 +02:00
3f3fb87ebd feat: added MatchManager
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:20:01 +02:00
62e230777b feat: added MatchExtension
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:19:48 +02:00
cd4e881e60 feat: added MatchTypes enum
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:19:28 +02:00
97fc2975c5 feat: added MatchPlanningData and MatchPlanningDataData
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:17:47 +02:00
e03e5bbd9e chore: moved Logger info to runThread function
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:15:31 +02:00
1b2b35e10a fix: fixed errors with the TimeManager if there is no notifier role
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:12:55 +02:00
7ab73765e4 feat: added function to get a ZonedDateTimeObject from a string, added function to generate a cronjob string from a ZonedDateTime object
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:05:12 +02:00
ad6040ebf3 feat: added EmbedWithTableWithFooter to MessageUtil
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 12:57:22 +02:00
f79e1b1582 feat: added info output to SendPlannerExtension
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 12:55:54 +02:00
063ef3ef91 chore: removed comment, as the function has been cleaned up
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-29 12:12:57 +02:00
d92396784e feat: improved isEmpty check
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-29 11:14:13 +02:00
196bb378b4 feat: make the bot update the roles on startup
fix: fixed the bot throwing Errors when there is no role for a channel

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-29 09:57:36 +02:00
4fac341c11 feat: AvailabilityManager cronjob now runs at 1:00 AM utc
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-29 08:39:57 +02:00
a42016961f feat: timemanager cronjob now runs at 0:01 AM utc
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-29 08:39:43 +02:00
e64569c748 feat: improved feature system
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-29 08:25:37 +02:00
e0228c65cd feat: removed old Feature interface, removed manager temp, moved IFeature into .feature.component
chore: add credits, add comments

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-28 23:15:26 +02:00
15d2aec85e feat: improved feature / cronjob system
Changes by silenium-dev

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-28 23:15:11 +02:00
72670d4dd4 feat: added saving of the messageids,
chore: moved getMondayDayOfMonth function to TimeUtil

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-28 22:52:44 +02:00
5c488fa91d feat: (re)added PlanningRolesFeature
fix: fixed being able to register TimePlanningFeature multiple times in the same channel
chore: added comments

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-28 22:50:34 +02:00
ae0d67f3fd feat: added UpdateRolesExtension for debugging
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-28 22:48:46 +02:00
fb287b24cf chore: Renamed ButtonUtil to EmbedUtil
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-28 22:48:27 +02:00
04ff442d86 feat: started working on improving feature system, added Feature, added FeatureManager to store all Features
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-28 22:47:13 +02:00
2e63bee9a6 feat: added PlanningRoles feature to FeatureEnum, added AvailabilityManager with Cronjob
chore: moved FeatureEnum from .extensions.component to .features.component

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-28 22:46:24 +02:00
03fa8a51a7 feat: save messageids to database
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-28 22:43:55 +02:00
3aeefefd32 feat: added TimePlanningMessagesData
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-28 22:43:08 +02:00
46df0a1371 chore: add comments to PlanningNotifierRolesData
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-28 22:42:43 +02:00
d99d468680 fix: fixed wantstobenotifiedid in PlanningNotifierRoles
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-28 22:42:22 +02:00
ce25b20a35 feat: add TimePlanningMessagesTable
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-28 22:41:53 +02:00
4bc2fe6930 feat: added get Users in the first X fields
fix: fixed typo in May be available button
chore: renamed ButtonUtil to EmbedUtil

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-28 22:40:27 +02:00
8bca3838bc feat: split getDelay function into three different getDelay functions
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-28 22:39:15 +02:00
0a16994e61 feat: add MemberIntent
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-28 22:38:26 +02:00