Commit graph

107 commits

Author SHA1 Message Date
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
27b721ae1f fix: removed nonexistent feature in feature command, fixed timing on timeplanner.
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-15 08:51:32 +02:00
9885466ed5 !fix: removed not properly usable sendplanner command
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-15 08:07:15 +02:00
6f46615a3c Merge branch 'master' into feature/ping_system
# Conflicts:
#	src/main/kotlin/net/moonleay/lilJudd/features/TimeManager.kt
2023-06-06 11:37:37 +02:00
414c48708f feat: added permission check to SendPlannerExtension
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-05 13:22:22 +02:00
6d99022bda !fix: removed the possibility of some Extensions running in DMs
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-05 12:51:46 +02:00
13cf183fd5 fix: fixed time in TimePlanner
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-05 12:51:07 +02:00
3d0b05cb1f feat: added SendPlannerExtension
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-05 12:50:50 +02:00
b45d8ffd6e chore: progress commit. refactored TimePlanner, added stuff to Feature Manage Extension, added db stuff
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-05 12:11:16 +02:00
daa6e17c04 feat: added PlanningNotifyerRoles to db loader, added PlanningNotifyerRoles to feature command, renamed Feature to FeatureEnum
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-05-29 13:57:04 +02:00
6354b79f30 feat: added comment to add sharding down the line
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-05-29 13:53:02 +02:00
40cf95c43d fix: fixed issue with the TimePlanners formatting
chore: cleaned up TimePlanner code

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-05-28 16:04:37 +02:00
160deb1c74 fix: fixed typo in button event
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-05-23 22:57:32 +02:00
9a1154b272 fix: fixed issue with the bot not sending the Time planner, fixed issue with not being able to add your self to the lists
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-05-22 13:03:34 +02:00
127ec3147b feat: implemented the new TimePlanner Messages With Buttons instead of reactions
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-05-21 19:43:53 +02:00
c5f9539888 chore: removed comments from functions in ButtonUtil
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-05-21 15:09:32 +02:00
af79090ca0 feat: added buttons for TimePlanner v2
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-05-21 15:08:23 +02:00
ec9d8b195c feat: added TestExtension
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-05-21 15:07:53 +02:00
67aaf7f350 feat: added button support
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-05-21 15:07:36 +02:00
7fb1c19e3f chore: changed Main.kt a bit to retrigger the pipeline
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-05-18 22:16:20 +02:00
943cc0b82c fix: fixed bot spamming, due to wrong cron config
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-05-18 21:44:36 +02:00
bbf08ba2d7 feat: finished TimePlanner, the bot now can send a planning message mondays 4AM UTC
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-05-18 20:50:43 +02:00
df3c732667 chore: updated copyright
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-05-18 17:38:50 +02:00
be7dcd80e4 fix: fixed the bot crashing when booting to generate a new config file
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-05-18 17:31:16 +02:00
fed4bd7fe1 chore: moved package and group from de.limited-dev to net.moonleay, fixed group in build.gradle.kts
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-05-18 17:27:31 +02:00
4e4da2422f feat: added FeatureManageExtension, added DB, updated MessageUtil
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-05-13 01:22:00 +02:00
0ad6941b62 feat: added exposed dependency, updated kotlin jvm
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-05-13 01:19:27 +02:00
077da0c43b big bang
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-04-27 10:35:09 +02:00