Commit graph

138 commits

Author SHA1 Message Date
2b42ef5dec
fix!: Changed all colors to EmbedColor
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
79b0dd8d6a
feat: make embed helper functions use EmbedColor instead of color
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
266376f7cb
feat: added EmbedColor
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
0a2368417a
chore: removed unused open modifier in IEditButton
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
24687d4060
feat: improved UpdateRolesExtension
chore: updated UpdateRolesExtension Documentation

Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
1cd622a778
chore: updated SendPlannerExtension documentation
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
50ab9c0b0d
!feat: removed TestExtension.kt
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:50 +01:00
eee820917d
feat: Bot now skips Bot Users
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:50 +01:00
e0e522f561
feat: moved update logic into "updateInChannel" function, updated the function in Timeplanner buttons
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:50 +01:00
5ce99c904e
fix: fixed grammar
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:50 +01:00
266b331699
chore: moved to proper data types in columns
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:50 +01:00
998de8bae5
feat: added DeclineEditButton
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:50 +01:00
5d2ef4fc44
feat: improved function of AcceptEditButton
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:50 +01:00
6b612dcec6
feat: added Unavailable to MatchExtension table
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:50 +01:00
8dd123fe44
feat: improved replaceXWithYinValuesAtTable function, edited MatchButtons
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:50 +01:00
5431515976
feat: improved getAClonedEmbed function, added an equivalent using a EmbedBuilder
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:50 +01:00
e051335d84
feat: Roles now update on button press
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:50 +01:00
c16ff4bdba
chore: improved readability
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:50 +01:00
4f3c76910c
fix: fixed AvailabilityManager
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:50 +01:00
6ab6aa1279
fix: fixed weekstamp
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:50 +01:00
a3d3005ff0
chore: improved imports
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:50 +01: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
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