Skip to content
This repository has been archived by the owner on Oct 11, 2021. It is now read-only.
/ faceitstats Public archive

Discord Faceit statistic bot. Allows you to find out information about the player (if, of course, he is registered on Faceit) just using one command! (OUTDATED)

Notifications You must be signed in to change notification settings

itzme1on/faceitstats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📊 Faceit Stats - OLD VERSION

Overview

  1. About Faceit Stats
  2. Installation
  3. Running
  4. Commands
  5. Dependencies

About Faceit Stats

Faceit Stats bot will help you find out brief and detailed statistics about player, such as the count of wins, winrate, skill level, average K/D, etc. Bot is very easy to use.

Installation

Clone the repository (you will need git installed)

$ git clone https://github.com/itzme1on/faceitstats
$ cd faceitstats

Install Node.js v12+ if you haven't already then install dependencies:

$ npm install

Go to src directory and open config.json file. Here you need to insert your Discord Bot token and Faceit API access token. In order to get an Faceit API access token, you need to have a Faceit account, then you must log in and create a new app. Enter the name of your application and add description. Then go to API KEYS and add a new api key. In type parameter select Server side and click Create. Copy your api key and paste it into faceitapitoken. Don't forget to insert the token of your Discord bot into token. If desired, you can also change the bot status and commands prefix.

Running

You should open the console in the bot folder, than go to src and use node bot.js

$ cd faceitstats
$ cd src
$ node bot.js

Commands

Command Description
fs!help Open help section and displays all bot's commands
fs!player [nickname] Display short player statistic
fs!stats [nickname] Display detailed player statistic

Dependencies

Package Version Link
Node.js v12 *click*
discord.js v12 NPM
faceit-js v0.0.3 NPM
faceit-js-api v0.3.3 NPM
request v2.88.2 NPM

About

Discord Faceit statistic bot. Allows you to find out information about the player (if, of course, he is registered on Faceit) just using one command! (OUTDATED)

Topics

Resources

Stars

Watchers

Forks