Commit graph

121 commits

Author SHA1 Message Date
ec92cac2e7
feat!: completely rewrote API code to use KotlinXSerialization instead of pasing it manually (WTF was I thinking when I did that??)
Signed-off-by: moonleay <contact@moonleay.net>
2024-01-18 18:34:11 +01:00
0f2410c7c1
chore: added KotlinxSerialization to project, bumped kotlin version
Signed-off-by: moonleay <contact@moonleay.net>
2024-01-18 18:31:57 +01:00
734ac1b74c
WIP: started working on lilJuddApi implementation
Signed-off-by: moonleay <contact@moonleay.net>
2024-01-01 04:12:23 +01:00
e6803f6474
fix: finished removing useless paths from the refactor
Signed-off-by: moonleay <contact@moonleay.net>
2024-01-01 04:11:49 +01:00
f3b28ac392
refactor: splatoon3ink api
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-31 22:02:59 +01:00
d8753a8c1f
fix: updated Error messages to better fit the HTTP standard
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-19 10:59:31 +01:00
5581f8f348
fix: fixed all exceptions, which were caused by upgrading dependencies
chore!: rewrote all embeds as a result

Signed-off-by: moonleay <contact@moonleay.net>
2023-12-19 10:31:47 +01:00
fc7edc0d0d
feat!: improved MessageUtil
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-19 10:28:49 +01:00
60c30af3e9
feat: reworked Rotation Status
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
52703b4b61
fix: fixed match command throwing exceptions when being run with false inputs
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
984bcabd0c
fix: added try-catch to Splatoon3Api, fixed Statusupdater
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
0bf527b6e0
fix: off-by-one error in EmbedUtil 2023-12-09 16:11:51 +01:00
bf057dd317
fix!: temp. stopped the StatusUpdater and Cache updater from running to make the bot run again, fixed package names
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
75b8321ba6
fix: fixed issue with time in the match extension
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
2834989bbb
fix: fixed api schedulers
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
a2fa3c0d51
chore: updated comment
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
daf3ed0c21
fix: StatusUpdater now starts after the bot is online
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
89e6142ebf
feat: removed the not needed status refreshes
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
390cd2a345
feat: made the status refresh every time it updates
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
e02117fa36
feat: registered new jobs and features
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
594050dd61
feat: added StatusUpdater to update the status of the bot
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
ef6820da11
feat: added JSON deformatter to TimeUtil
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
1b24a9b7d7
feat: added NetUtil for web requests
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
1c17a5d2be
feat: added cacheUpdateJobs
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
886d891787
chore: added credits for the provided data
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
06edbb9288
feat: added Splatoon3.ink API
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
028e566c70
fix: fixed issues with timestamps
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
59c399d41f
chore: moved Database stuff in /database package
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
344751b9de
fix: fixed removed functions
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
39c8867722
feat: moved all transactions into one package for reuse and simplicity
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
47a703156c
chore: removed unused comment
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
3d1b2750e5
chore: fixed naming in data objects
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
3695f716ed
feat: added TimePlanningChannelsData
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:51 +01:00
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