YouFaceIt is a discord bot made with Discord.js. It allows players on a server to show their latest FaceIt CS:GO game info and result, detect who played best and worst, show personal stats etc.
The idea was born on our Discord server, our team needed a way to automate the indication of who played worst and needed to improve their game (and call him a noob of course) and who played best in order to praise them for good job!
You can add this bot to your server from Top.gg page
When your bot is up and running and is added to your Discord server, you can use the following commands:
!yf add [FaceIt nickname]- to add a player to a watch list!yf remove [FaceIt nickname]- to remove a player from the list!yf list- show the watch list of added players!yf show- detect latest common game of 2 and more players in the list and show info about the match!yf help- show help and commands info!yf ru | en- change bot's language to Russian | English, by default the bot is in English
Before running your local test version of this bot on your Discord server you need to have:
- a valid FaceIt API key
- Discord bot token from an Discord developer portal
- a way to deploy your server (I personally use Heroku)
- MongoDB connection string for storing and managing your team info*
*Dont forget to whitelist your server ip in MongoDB Atlas connection settings
To run it in development mode you will also need Node.js and npm.
Clone the repository and run the following commands:
npm install
node .
Please check out the env.example file and add your tokens to new .env file in root folder.