Skip to content
πŸ€– CustomBotJS - A Discord Bot for PUBG Custom Game organization
JavaScript
Branch: master
Clone or download
DanBennettUK Merge pull request #15 from MrSergo15/master
Automatic voice limit change - Fixes #14
Latest commit f6a70db Aug 17, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
commands Change voice limit to winning squad number Aug 16, 2019
events Change voice limit to winning squad number Aug 16, 2019
.gitignore πŸ™ˆ Fixed typo in ignore Jul 4, 2019
LICENSE Initial commit Jul 3, 2019
README.md πŸ”– Moved to 1.0.2 Jul 18, 2019
botlogo.png [ImgBot] Optimize images Jul 7, 2019
config-example.json
emojiCharacters.js Added weather vote, changed clear Jul 20, 2019
index.js πŸ”– Moved to 1.0.2 Jul 18, 2019
package-lock.json Update enmap to version 5.1.2 Aug 12, 2019
package.json Update enmap to version 5.1.2 Aug 12, 2019

README.md

CustomBotJS - A Discord Bot for PUBG Custom Game organization

Originally for /r/PUBATTLEGROUNDS aka PUBGReddit

Based on CustomsBot by SamWalton.

CodeFactor Depfu GitHub release Buy Me A Beer Twitter

πŸ“‹ Requirements:

These are the required libraries/packages to run this bot:

πŸ”§ Configure:

This table outlines what the configuration settings are in config.json.

Config Option Description Example
token Discord Bot Token N345798SDG98NBDSFGLKHlh4.8sdglh.dfg8oe4lkndf_dhg0934sg2qevM
prefix Command Prefix $
host_channel_id ID token of the hosts Discord channel 40972350972635
games_channel_id ID token of the Discord channel where votes and passwords will be posted 40972350972635
chat_channel_id ID token of the Discord channel used for chatting 40972350972635
subscriber_channel_id ID token of the Discord channel used for subscribers only 40972350972635
host_role_id ID token of the hosts Discord role 40972350972635
custom_role_id ID token of the Custom games Discord role for mentioning 40972350972635
bot_role_id ID token of the bot so it knows it's identity 40972350972635
subscriber_role_id ID token of the Subscribers Discord role for mentioning separate to normal users 40972350972635
role_message_id ID of the message used to add or remove roles via reaction clicks 40972350972635
voice_channel_emoji Emoji that voice channels start with, for the bot to set user limit for with vclimit 40972350972635
default_timer Default time in minutes for timers to use 2
activity => twitch_client_id Twitch API key for checking Twitch status false
activity => twitchUsername Twitch Username for the bot to check when streaming DanBennett
activity => message Default activity message to use when not streaming PlayerUnknown's BattleGrounds
default_game_server_name Default Custom Game Server Name (can be overridden by password command) true
default_game_server_password Default Custom Game Server Password (can be overridden by password command) true
host_channel_messages Choose whether results of votes are posted in the hosts channel true
custom_role_ping Choose whether the Custom role set by custom_role_id should be pinged/mentioned true
debug_enable Enable or Disable debugging (false = off) false

πŸš€ Usage:

$ node . # I'll script this later..

πŸ“„ License:

GPL-3.0 Β© Dan Bennett

You can’t perform that action at this time.