Skip to content

FakeMilo is an educational discord bot where you can organise a tournament and compete with your friends to a battle of trivia questions and keep track of how good you are performing

Notifications You must be signed in to change notification settings

CodenameGHOST007/FakeMilo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FakeMilo

FakeMilo is an educational discord bot where you can organise a tournament and compete with your friends to a battle of trivia questions.

Features

The features of the bot are split into 4 cogs (as of now) each of which caters to a set of commands and functionality.

The cogs used here are:

  • exe2 : Admin only command used to run code snippets without actually needing to modify the code. For on the go testing.
  • help : Caters to m!help command.
  • player : Handles the database queries and also shows highest scorers of all time.
  • quiz : The main cog which handles the tournaments by creating brackets and conducts matches by fetching queries from the trivia API.

Table Of Contents

  • Technology Stacks
  • Usage
  • Installation
  • Links
  • Contributors

Technology Stacks

  • Python 3
  • discord.py
  • Mongo DB
  • Trivia API

Usage

Some of the common commands are as follows:

  • m!help : guides the user on how to use other commands
  • m!quiz <parameter1> <parameter2> ... : Creates match brackets and organise the tournament among the users provided
  • m!match <match number> : Conducts matches according to tournament brackets.
  • m!highest_scores : Returns the highest scorers of all time

Installation

If you want to run your own instance of the bot follow the following steps:

Cloning the repository

Clone the repository using

    git clone https://github.com/embiway/FakeMilo.git

Installing the required libraries and dependencies

Install the requirements using

    pip install -r requirements.txt

Setting up the environment variable

Create a .env file and add the following tokens

F_TOKEN=<Your bot token>
CONNECTION_URL=<Your mongodb cluster url>

Starting the bot

Run the following

    python bot.py

Links

Contributors

Team Name : br1cks

About

FakeMilo is an educational discord bot where you can organise a tournament and compete with your friends to a battle of trivia questions and keep track of how good you are performing

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages