Commit graph

88 commits

Author SHA1 Message Date
caa5d49bad fix!: Changed all colors to EmbedColor
Signed-off-by: moonleay <contact@moonleay.net>
2023-09-14 12:36:19 +02:00
8d14597a38 feat: make embed helper functions use EmbedColor instead of color
Signed-off-by: moonleay <contact@moonleay.net>
2023-09-14 12:34:27 +02:00
dcdb5c6e56 feat: added EmbedColor
Signed-off-by: moonleay <contact@moonleay.net>
2023-09-14 12:27:53 +02:00
af15f7eb73 chore: removed unused open modifier in IEditButton
Signed-off-by: moonleay <contact@moonleay.net>
2023-09-14 09:46:19 +02:00
36f931b919 feat: improved UpdateRolesExtension
chore: updated UpdateRolesExtension Documentation

Signed-off-by: moonleay <contact@moonleay.net>
2023-09-14 09:43:36 +02:00
39fb3ba7d6 chore: updated SendPlannerExtension documentation
Signed-off-by: moonleay <contact@moonleay.net>
2023-09-14 09:42:29 +02:00
99964d7981 !feat: removed TestExtension.kt
Signed-off-by: moonleay <contact@moonleay.net>
2023-09-14 09:41:43 +02:00
8a77b275dc feat: Bot now skips Bot Users
Signed-off-by: moonleay <contact@moonleay.net>
2023-09-14 09:41:27 +02:00
7e0c8e5a9f feat: moved update logic into "updateInChannel" function, updated the function in Timeplanner buttons
Signed-off-by: moonleay <contact@moonleay.net>
2023-09-14 07:44:43 +02:00
de1d8cd3a6 fix: fixed grammar
Signed-off-by: moonleay <contact@moonleay.net>
2023-09-11 14:46:40 +02:00
1424e31e2a chore: moved to proper data types in columns
Signed-off-by: moonleay <contact@moonleay.net>
2023-09-11 13:35:17 +02:00
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