Coder Social home page Coder Social logo

fortnitediscordbot's Introduction

Fortnite ranking system discord bot

How it work?

With this script, discord users can rank themself with commands.
Your rank depend of your overall fortnite Kill/Death ratio. Here are the ranks you can have, you need to create all of these ranks in your discord in order so the bot work.

@Wood,        0.00 → 0.99  K/D  
@Carton,      1.00 → 1.49  K/D  
@Bronze,      1.50 → 1.99  K/D  
@Silver,      2.00 → 2.49  K/D  
@Gold,        2.50 → 2.99  K/D  
@Platinium,   3.00 → 3.49  K/D  
@Diamond,     3.50 → 3.99  K/D  
@Ruby,        4.00 → 4.99  K/D  
@Royality,    5.00 → 5.99  K/D  
@Illuminati,  6.00 → 7.99  K/D  
@Hackeur,     8.00 → +  K/D  

Once the ranks are created you can create rooms with permissions based on the rank / K/D of the user.
An example of a discord implementing the bot.
alt text

Author

Jean-Michel Poirier ([email protected])

How to run?

To setup the bot, open the file bot.py and modify the constant DISCORD_TOKEN with your own discord token. Then, modify the constant FORTNITE_API_KEY with your fornitetracker api key. You can get one at https://fortnitetracker.com

You are all setup to run the script, execute the command ./script.sh

What are the commands?

Once your bot is running, in a text channel you can use theses commands:

  1. /nick YOUR_FORNITE_USERNAME Change your discord username to your fortnite username.
  2. /rank Automaticly rank you according to your fortnite Kill/Death ratio.
  3. /patch Return the last patch notes of fortnite.

License

The project is under Apache License 2.0.

Bugs

  • ...

fortnitediscordbot's People

Contributors

poirierjm 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.