/discord-fivem-browser

FiveM helper bot for Discord

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

discord-fivem-browser

A FiveM helper bot for Discord. Shows player count in the channel title and delivers a list of players when requested.

Channel Title

Imgur

Server Browser

Imgur

Quick start

  1. Install the latest Node.js
  2. Copy/rename config.js.example to config.js
  3. Create a bot user in Discord developer website and copy it's token to config.js
  4. Follow the instructions in the console to authorize the bot on your server
  5. Make sure the bot has the manage-channels and read/send message permissions

Installation and running

npm install
node main.js

I recommend using Forever to run it, as the Discord.js crashes occasionally.

Usage

The bot automatically updates the topics in the channels set in the config.js

To see the playerlist, type ![server name], for example !server1. This requires role(s) set in the config.js

Feel free to add issues or better yet, do pull requests!

The bot is developed and tested on Node.js v10.4.1.