Hype Up Your Events!
Go to file
Joey Hines 9a98190b41 Fixed `cancel` return message 2020-05-25 12:01:58 -05:00
migrations Added event organizer and event location 2020-05-02 13:35:47 -05:00
src Fixed `cancel` return message 2020-05-25 12:01:58 -05:00
.gitignore Added rolling log support 2020-05-22 22:57:11 -05:00
Cargo.lock Switched over to using a scheduler for events.rs 2020-05-22 20:03:09 -05:00
Cargo.toml Switched over to using a scheduler for events.rs 2020-05-22 20:03:09 -05:00
LICENSE Added license 2020-05-20 14:30:37 -05:00
README.md Added rolling log support 2020-05-22 22:57:11 -05:00
diesel.toml Initial commit 2020-04-22 22:28:51 -05:00

README.md

HypeBot

A Discord bot for managing events. Uses Serenity for the bot framework and Diesel 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

A user can then use the confirm command to create the event and publish it:

announcement

Users who react with will then be sent reminders about the event as private message.

Running

./hype_bot config.toml

Config

# Database URL
db_url = "mysql://[user]:[password]@localhost/hypebot_db"
# Default image to show on the thumbnail
default_thumbnail_link = "https://i.imgur.com/wPdnvoE.png"
# Discord bot key
discord_key = ""
# Bot command prefix
prefix = "~"
# Channel ID to post to
event_channel = 0
# List of roles that can use the bot
event_roles = [0]
# Timezone to display events, supported timezones can be found at https://docs.rs/chrono-tz/0.5.1/chrono_tz/#modules
event_timezone = "America/New_York"
# Path to place logs in
log_path = "log/"