Welcome to the GitHub repository for Quizzly Bear, a Discord bot created for the Python Discord Summer CodeJam 2024! This bot is based on the theme "Information Overload", where its plethora of interactive and informative features fit right in.
Quizzly bot has the following slash commands
discussto create a discussion on a given topicsummarizeto summarize a given body of textshortifyto summarize the conversation in-between two messagesfactpediato start a fact checker minigamehelloto generate a simple greeting :)pingto ping the botrandomizeto tag a random userscoreto fetch the user scoreleaderboardto display the server leaderboardquizto start a new quiz
Check out this presentation for a glimpse of the commands at work!
-
Create a bot account.
-
Clone the repo.
git clone https://github.com/13acts/Code-Jam-2024.git- Enter directory, install poetry, and do
poetry installto install all the project dependencies. Skip step 2 if you already have poetry installed on your system.
cd Code-Jam-2024
python -m pip install poetry
poetry install- Activate .venv
poetry shell- Create an .env file with environment values set as in the .env.sample file.
TOKEN: Discord Bot TokenSERVER: Discord server ID (used for development only)DATABASE: Connection to MongoDBGOOGLE_API_KEY: API Token from Google Gemini
- Run the bot.
python main.py