Skip to content

AnnikenYT/quotr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Quot.r

(Don't judge the code quality, this was written at 1am in 1.5 hours.)

Who said that??

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)

Supported Formats

 "<quote>" - <author>
 <author>: <quote>   
 "<quote>" <author>
 Custom via Regex.

Commands

  • *: Requires the Manage Server permission

  • /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.

Contributing

  1. Clone the repo
    git clone https://www.github.com/annikenyt/quotr
    cd quotr
  2. Install dependencies
    python3 -m venv .venv
    source .venv/bin/activate
    pip install -r requirements.txt
  3. Copy the .env.example to .env and fill in your values.
  4. Run the bot
    python3 main.py

Have Fun!


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published