Joey Hines
9a98190b41
Fixed `cancel` return message
2020-05-25 12:01:58 -05:00
Joey Hines
ff40de92ee
Reactions are only checked in they are in the event channel
2020-05-23 16:35:19 -05:00
Joey Hines
79d0b1cd09
Added rolling log support
...
+ Log files are limited to 10mb
+ 10 logs are kept at a time
2020-05-22 22:57:11 -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
018f06e38e
Added license
2020-05-20 14:30:37 -05:00
Joey Hines
a0d6a492b8
Fixed permission check issue
...
+ `permission_check` was returning false if a member did not have a certain role, instead of continuing to search
2020-05-20 11:29:07 -05:00
Joey Hines
46703f9509
Clarified config setup in README.md
2020-05-19 19:36:59 -05:00
Joey Hines
8508f182c1
Fixed README.md (again...)
2020-05-19 19:26:27 -05:00
Joey Hines
6dd8ff03c2
Fixed README.md (again)
2020-05-19 19:24:52 -05:00
Joey Hines
6c33d46cb4
Fixed README.md
2020-05-19 19:18:13 -05:00
Joey Hines
642abf7ccb
Fixed missing `"` in `create`
2020-05-02 13:49:20 -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
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