Commit Graph

11 Commits (master)

Author SHA1 Message Date
Joey Hines 7a8cbba73c
Using latest tokio and serenity versions 2021-03-04 19:20:32 -06:00
Joey Hines 32f100c4cf
Moved to sled for the database + code cleanup
+ Moved to the sled embedded rust database
+ Refactored code during migration
+ fmt+clippy
2021-03-04 19:07:31 -06:00
Joey Hines 7c441028a7
Added event cleanup 2021-02-26 18:00:16 -06:00
Joey Hines 30177474e1
Initial async update commit
+ Naive port of all code to async serenity
+ Limited testing has been done, but the bot seems to work
+ Removed WhiteRabbit dependency (does not work in async)
+ Further cleanup needed
2021-01-09 15:45:16 -06:00
Joey Hines fbee8708a2 Event handler error handling
+ if the config is not found, return and log it
2020-05-27 21:45:33 -05:00
Joey Hines f3c977b93b Switched over to using a scheduler for events.rs
+ This will hopefully cut down on the CPU/Memory leaks on large servers
2020-05-22 20:03:09 -05:00
Joey Hines 81660a72df Added event organizer and event location
+ Event location is a new required field
+ Event organizer defaults to user that ran the command, or can be specified
+ Formatted code
2020-05-02 13:35:47 -05:00
Joey Hines 9d8688ad92 Fixed reminders
+ Event reminders are now sent properly.
+ Users who react to old events will be told the even has already started
2020-05-01 16:29:09 -05:00
Joey Hines 01c986d708 Added error logging 2020-04-27 18:16:03 -05:00
Joey Hines 3eda40dcc0 Added better timezone support and added confirm_event
+ Times are now read in and displayed as a configured timezone
+ Added `confirm_event` to preview the event message before posting
2020-04-23 19:45:02 -05:00
Joey Hines 3c710adf96 Initial commit
What works:
+ create_event command posts an event message to a channel
+ the event is also stored in a database

Todo:
+ Add event reminders to those who RSVP
+ Add permissions support
+ Add commands for editing/deleting events
2020-04-22 22:28:51 -05:00