Commit Graph

13 Commits (9d8688ad92dfd548596e7c8f033104367337a61b)

Author SHA1 Message Date
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 0f8fe04657 Reformatted code to organize it better
+ Moved commands and discord helper functions to `discord` module
2020-04-28 19:41:10 -05:00
Joey Hines 01c986d708 Added error logging 2020-04-27 18:16:03 -05:00
Joey Hines 4a182090ff Added better error handling and help messages 2020-04-27 17:13:23 -05:00
Joey Hines 7799f0e2fe Added the cancel_event command
+ When an event is canceled, a notification is sent to all interested users
+ The message is then deleted and removed from the database
2020-04-26 21:49:04 -05:00
Joey Hines bff5684b38 Added permissions check
+ Permissions are handled in the `before` command call
2020-04-26 21:14:00 -05:00
Joey Hines 34647ce678 Added automatic remove of events
+ Events that are older than an hour are deleted
2020-04-26 16:43:54 -05:00
Joey Hines 0e6a0bcbef Added message for when a user removes a reaction 2020-04-26 16:23:13 -05:00
Joey Hines 71a63d84c8 Cleanup and Formatting fixes
+ HypeBotConfig now parses TZ strings on load
+ Cleaned up unsafe code
+ Added more comments
+ Ran code through rustfmt
2020-04-26 15:06:55 -05:00
Joey Hines 8b8b479bcf Added reminders
+ Users can react to an event message, when they do they get reminders about the event
2020-04-25 20:04:13 -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 b654d0b167 Fixed README.md 2020-04-22 22:30:52 -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