From 6c33d46cb491e8a2a15fa4b67e2a40ed0085338a Mon Sep 17 00:00:00 2001 From: Joey Hines Date: Tue, 19 May 2020 19:18:13 -0500 Subject: [PATCH] Fixed README.md --- README.md | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fef0c73..87561c5 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,29 @@ # HypeBot A Discord bot for managing events. Uses [Serenity](https://github.com/serenity-rs/serenity) for the bot framework -and [Disel](http://diesel.rs/) as an ORM. +and [Diesel](http://diesel.rs/) as an ORM. + +## Usage +Creating an event can be done using the `create` command. +``` +~create "Test Event" "5:35PM 2020-05-17" "A very cool test event!" "Cool Place" +``` + +This creates a draft event that the user can then review: + +![create event example] +(https://i.imgur.com/9jTko9W.png) + +A user can then using the `confirm` command to create the event and publish it: + +![announcment] +(https://i.imgur.com/AeTE1v2.png) + +Users who react with ✅ will then be sent reminders about the event as private message. ## Running `./hype_bot config.toml` -##Config +## Config ```toml # Database URL db_url = "mysql://[user]:[password]@localhost/hypebot_db"