(Don't judge the code quality, this was written at 1am in 1.5 hours.)
This Bot takes Quotes from your Discord Server and turns them into a game!
After setting a Quote Channel (/setquotechannel) and optionally a custom regex (/setquoteregex), the Bot will scan (can be reinitiated /scan) the past 500 messages of the channel and build a Database.
With /guess, your members will get a randow quote, and can then guess who its from!
The concept is extremely simple, but its honestly pretty funny.
Invite Link: Soon (maybe)
"<quote>" - <author>
<author>: <quote>
"<quote>" <author>
Custom via Regex.
-
*: Requires theManage Serverpermission -
/setquotechannel* [channel]🔍 : Set the channel to scan for quotes. Without arguments, it'll use the current channel. -
/setquoteregex* <regex>🔍 : Set a custom regex to filter messages. -
/scan*🔍 : Scan the set quote channel for quotes. -
/clearquotes*🔍 : Clear the quotes from the database. -
/guess🔍 : Start the guessing game. -
/quote🔍 : Get a random quote from the database. -
/guildinfo🔍 : Get information about the guild.
- Clone the repo
git clone https://www.github.com/annikenyt/quotr cd quotr - Install dependencies
python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt - Copy the
.env.exampleto.envand fill in your values. - Run the bot
python3 main.py
Have Fun!
