GithubHelp home page GithubHelp logo

codenameghost007 / fakemilo Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 2.0 8.97 MB

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

Python 100.00%
python3 discord-py mongodb api trivia-game tournament

fakemilo's Introduction

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

fakemilo's People

Contributors

codenameghost007 avatar embiway avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

embiway icodein

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.