Joey Hines
71a63d84c8
+ HypeBotConfig now parses TZ strings on load + Cleaned up unsafe code + Added more comments + Ran code through rustfmt |
||
---|---|---|
migrations | ||
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
README.md | ||
diesel.toml |
README.md
HypeBot
A Discord bot for managing events. Uses Serenity for the bot framework and Disel as an ORM.
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
# Permissions to use the bot
event_roles = 0
# Timezone to display events
event_timezone = "America/New_York"