Commit Graph

1032 Commits

Author SHA1 Message Date
NovaFox161 1c7500a7ec Fix compilation issues due to weird plugin version shenanigans 2020-05-14 18:21:45 -05:00
NovaFox161 4114c33409 use new Discord4j Color class 2020-05-14 15:25:18 -05:00
NovaFox161 b95ba974ec This should allow the announcement system to run now 2020-05-14 14:54:33 -05:00
NovaFox161 3f7a7f54d0 Fix incorrect date/time display when creating events 2020-05-10 23:32:31 -05:00
NovaFox161 449710115e Testing fix for incorrect date/time displays in creator commit 2/? 2020-05-10 22:42:57 -05:00
NovaFox161 c6116976be Testing fix for incorrect date/time displays in creator commit 1/? 2020-05-10 22:33:22 -05:00
NovaFox161 d1a32e5b87 Fix creator messages and make sure to delete initial command message 2020-05-09 14:47:26 -05:00
NovaFox161 2c42260e97 Remove debug statement I forgot to delete earlier 2020-05-08 23:08:15 -05:00
NovaFox161 f648bf8f96 This should fix some issues with resources not being included 2020-05-08 23:01:47 -05:00
NovaFox161 9d3fbfc700 Finally!!! the add cal command has been fixed and is now working!! 2020-05-08 21:24:53 -05:00
NovaFox161 a7310a96c5 Rewrite the success auth handling to see if maybe I just messed up 2020-05-08 21:06:27 -05:00
NovaFox161 67963d5aa4 More debugging!!! Empty?????? Losing my damn mind right now 2020-05-08 18:06:51 -05:00
NovaFox161 54ec3ae196 More debugging!!! Empty?????? 2020-05-08 17:08:02 -05:00
NovaFox161 8214182471 More debugging!!! 2020-05-08 14:37:58 -05:00
NovaFox161 f17fc61ae8 Still trying to figure out where the code isn't returning 2020-05-08 01:29:31 -05:00
NovaFox161 fc4ac7e68a Add more debug statements. *Something* is empty, but I don't know what 2020-05-08 00:38:14 -05:00
NovaFox161 410fac78b4 Adding in some debug statements to see if something is actually empty 2020-05-08 00:20:55 -05:00
NovaFox161 c7a878303f Stop accidentally catching an error 2020-05-06 23:20:16 -05:00
NovaFox161 47995a9a0f Still trying to get google auth polling working correctly again 2020-05-06 22:08:47 -05:00
NovaFox161 8050d62e61 Maybe this will fix the lack of listing calendars... 2020-05-06 19:17:19 -05:00
NovaFox161 a173157d28 This should fix the issue with handling listing of accessible calendars 2020-05-06 19:01:56 -05:00
NovaFox161 ce70dfe5f2 Fix missing binding in guild settings insert 2020-05-06 17:51:34 -05:00
NovaFox161 2096fb577e Fix a number of issues regarding authorization and such
For one, this should fix the error when handling Google external auth,
as it was blocking and I hadn't rewrote it, so that should be working
now.

Should also fix not responding to commands when there is no
GuildSettings saved for the guild
2020-05-06 17:39:50 -05:00
NovaFox161 b97585407a Trying to track down some errors with announcement editing 2020-05-05 22:17:53 -05:00
NovaFox161 341041a972 Still finding some errors with this somehow 2020-05-05 21:51:28 -05:00
NovaFox161 c7d826f4b9 Hopefully this fixes the issue of not listing subscribers
It's not the best way to do this, but it should work well enough
2020-05-05 21:25:08 -05:00
NovaFox161 4187936b58 This should fix the not listing of subscribers 2020-05-05 20:33:53 -05:00
NovaFox161 48c34263a1 This should also fix some more errors with getting users/roles 2020-05-05 19:59:59 -05:00
NovaFox161 b2075210c4 Fix bad mapping attempting to get announcements by UUID and not string 2020-05-05 19:29:05 -05:00
NovaFox161 920756ed31 Maybe this will fix some issues with finding users 2020-05-05 19:02:29 -05:00
NovaFox161 07353a91b5 Should fix parsing error being emitted 2020-05-05 18:12:23 -05:00
NovaFox161 d9c87260ce This should fix the RSVP command not returning
The command isn't meant to handle empty. It always assumes RSVP data
exists. Due to this, the database call will always return RSVP Data,
even if it is a new object.
2020-05-05 18:02:00 -05:00
NovaFox161 c36db9aeff Get events command fully working without emitting no cal message 2020-05-05 17:53:19 -05:00
NovaFox161 32f2d037b8 Fix calendar link not converting guild ID to string 2020-05-05 17:42:49 -05:00
NovaFox161 3451714f30 Wasn't changing patron/dev params correctly 2020-05-05 17:38:18 -05:00
NovaFox161 82367c3a3e Add global constants for discord base URLs since discord changed them 2020-05-05 17:20:39 -05:00
NovaFox161 f8536194a2 Hopefully this fixes null error when trying to retrieve version info 2020-05-03 20:29:08 -05:00
NovaFox161 314bbce300 This should fix the null error when getting messages from lang files 2020-05-03 19:24:12 -05:00
NovaFox161 0e7a027c2f This should fix the reactor netty versioning issues 2020-05-03 18:27:43 -05:00
NovaFox161 cd9817b201 Convert to fully reactive, mostly
Okay, so its almost fully reactive. The API is still blocking as of
current. Everything else is reactive now:
- Command system
- All utility methods
- Event listeners
- Announcement Thread
- Google calendar auth

Added simple reactive wrappers for google calendar blocking calls

I have no idea if any of this works, but it *should* work. Time to test!
2020-05-03 17:19:53 -05:00
NovaFox161 3e6dd0dd33 Fix null errors occurring due to EventData being null 2020-04-13 23:27:25 -05:00
NovaFox161 77950cb6e8 Fix permissions checking for correct permissions
This makes sure that users with admin permissions can run commands like
`!event create` without needing the bot's control role as admins have
full access to everything on the server.

This commit also wraps the command registration in a fromRunnable call
so that it doesn't block the client login
2020-04-13 23:23:27 -05:00
NovaFox161 4861c56b58 Fix null error on event confirm 2020-04-13 21:20:35 -05:00
NovaFox161 65d4cad204 Reformat entire project to using spaces instead of tabs
Finally fucking fixing the formatting after all these years
2020-04-13 18:39:41 -05:00
NovaFox161 24b797f1b4 Fix not subscribing to event listeners in our current work around 2020-04-13 17:48:36 -05:00
NovaFox161 c41230f62c Make event listeners reactive among other small fixes
Set r2dbc-mysql logging to info instead of debug as it is no longer
needed.
2020-04-13 17:36:57 -05:00
NovaFox161 99a65c5388 Temporary work around for event listeners no working as expected 2020-04-13 02:05:22 -05:00
NovaFox161 1c9eb49e95 Migrate to D4j v3.1.0-SNAPSHOT
Massive changes to the bot and d4j required migrating to the latest
snapshot. So far everything seems to work well, but will be tested later
on this week. Hopefully this is one step closer to being able to deploy
this to production in order to make the bot more stable and responsive.
2020-04-13 01:28:17 -05:00
NovaFox161 5d89cf60af Trying to get client to login correctly 2020-04-12 14:19:40 -05:00
NovaFox161 07f914ac97 Revert to d4j 3.0.13
Not sure if this is the culprit, but the only reason I can see login not
occurring correctly.
2020-04-12 13:53:07 -05:00