Commit Graph

100 Commits

Author SHA1 Message Date
NovaFox161 6bba0d3ea2 Still working on getting announcement system going 2020-05-15 00:16:23 -05:00
NovaFox161 c95780c047 Still working on getting announcement system going 2020-05-15 00:00:01 -05:00
NovaFox161 9d777a3c3d Still working on getting announcement system going 2020-05-14 23:58:09 -05:00
NovaFox161 bf63f0d1c1 Hopefully this allows the announcements system to start running 2020-05-14 23:41:19 -05:00
NovaFox161 8c816984bc Adding logging for figuring out what's going wrong with announcements 2020-05-14 22:37:21 -05:00
NovaFox161 ee170d4fc4 Make events show up in order 2020-05-14 20:47:20 -05:00
NovaFox161 1c7500a7ec Fix compilation issues due to weird plugin version shenanigans 2020-05-14 18:21:45 -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 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 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 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 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 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 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 891dc971e5 Fix database return inconsistency
When dealing with the API, this fixes the inconsistency in returning,
apparently caused by an UPDATE after a SELECT.
2020-04-11 16:00:02 -05:00
NovaFox161 9522404c91 Rewrite logger to be async
Completely rewrote our in-house logger so that its completely async.
Also designed the new logger so that we could pull it out of this
project and incorporated into our general utils library for all of our
other projects
2020-04-10 20:50:18 -05:00
NovaFox161 37c7f2d075 Fix several errors that were occurring for various reasons
This fixes an IllegalStateException happening when closing connections,
as well as some null errors caused by some changing of the logging
system.
2020-04-09 22:17:41 -05:00
NovaFox161 5c0c1e514d Convert all database calls to being reactive
This commit introduces the r2dbc api for all database handling to make
it fully reactive so future updates to make the bot fully reactive.
While most calls to the database are still blocking, this does use a
reactive driver for it so further work down the line will be able to use
the database reactively without much additional work.

These changes have not been tested, and will need to be tested
thoroughly as database use is the backbone for the bot's persistence
data scheme.
2020-04-07 22:18:43 -05:00
NovaFox161 f504696229 Convert several other data classes to be immutable 2020-04-05 20:23:14 -05:00
NovaFox161 5bac8a4c51 Dannie - Parallelize Mono/Database Calls to Improve Response Times 2020-04-03 16:40:52 -05:00