A discord bot to save quotes from your favorite servers and play them back.
cargo install diesel
diesel migrations run
to make an empty sqlite database- Copy
sample.env
to.env
- Fill in your discord token and guild id in
.env
- Compile and run the bot
- Use the star emoji reaction to tag messages as quoths in your server
- Use
!quoth
in discord to get a random quoth and!quoth <username>
to get one from a particular user (checks discord id then nicknames)
The star emoji is a constant in the src file and can be changed.
- Currently the bot only works with one server at a time. The data model needs tweaking to support more.
- Write a basic data model
- Write code to add quoths and query them
- Write bot to record quoths using reactions
- Add bot functionality to query and return quoths
- Write utility to load legacy quoths from slack
-
Write utility to retrieve pinned messages as quoths (Do them via message id)(do this via message snowflake ids instead) - Functionality to pick your own emojis via
.env
- Functionality to save quoth via message id
- Functionality to delete bad or buggy quoths
This bot is a re-implementation of my original quoth
bot for slack. That was implemented in Go and used Mongo (ick) for storage. Now we use Rust, a relational database, and connect to Discord. The world is better.