GithubHelp home page GithubHelp logo

kamaboko117 / mendicantbias Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 5.01 MB

A Discord bot for creating emoji tournaments

License: MIT License

Procfile 0.01% TypeScript 99.99%
discord-bot discord-js nodejs

mendicantbias's Introduction

Logo

Mendicant Bias

A Discord Bot to create election tournaments on server emojis.

Running this code

This bot uses mongoDB with the mongoose package. A .env file is required at the root of the repository. Use it to set the required variables:

Key Value
TOKEN= <your bot token>
DATABASE= (optional) <your mongoose connection String> needed for conducting tournaments and matches
YTCOOKIE= (optional) <a valid youtube cookie for a logged in account> needed for any use of the /play command
WEATHER= (optional) <an openweathermap api key> needed for any use of the /weather command
GEOCODE= (optional) <a mapbox api key> needed for any use of the weather command

Once your .env file is set up, use node . at the root of the repository to run the bot

Using the bot

You can either use this code using your own token or add the original bot to your server through this link.

if you need help with the commands, use the /help command directly. You can get more info with /help <command name> (example: /help create-tourney)

How it works

if you're interested in the tournament logic implementation, check this wiki

mendicantbias's People

Contributors

kamaboko117 avatar

Stargazers

Adam avatar Félix Gaillard avatar  avatar

Watchers

 avatar

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.