A FiveM helper bot for Discord. Shows player count in the channel title and delivers a list of players when requested.
- Install the latest Node.js
- Copy/rename
config.js.example
toconfig.js
- Create a bot user in Discord developer website and copy it's token to config.js
- Follow the instructions in the console to authorize the bot on your server
- Make sure the bot has the
manage-channels
andread/send message
permissions
npm install
node main.js
I recommend using Forever to run it, as the Discord.js crashes occasionally.
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
.