Code Monkey home page Code Monkey logo

mw2-ranked-bot's Introduction

MW2 Top 250 Leaderboard Discord Bot

This is a Discord Bot I decided to create for my Discord Server so users can search the LIVE Top 250 Leaderboards MW2 has within the game. Most people in my server grind constantly to hit or maintain Top 250 in the world, so when they are out doing things IRL, this is something they can use to check their current rank or see all Top 250 players.

How to Use

  1. Search for a player on the Top 250 Leaderboards - /t250 {playerName}
  2. Display the entire Top 250 Leaderboards - /t250 all

Yes, the /all has built in pagination!

Installing

Clone the repository to your local machine:

git clone https://github.com/<your-username>/mw2-ranked-bot.git

Change into the directory:

cd mw2-ranked-bot

Install the dependencies:

npm i

Create a .env file in the root directory and set the environment variables:

DISCORD_BOT_TOKEN=token_here

Start the server:

node index.js

The API should now be running on http://localhost:3000.

Built With

mw2-ranked-bot's People

Contributors

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