Skip to content

🤖 CustomBotJS - A Discord Bot for PUBG Custom Game organization

License

Notifications You must be signed in to change notification settings

DanBennettUK/CustomBotJS

Folders and files

NameName
Last commit message
Last commit date
Oct 24, 2019
Nov 24, 2019
Jul 4, 2019
Jul 3, 2019
Aug 21, 2019
Jul 7, 2019
Sep 29, 2019
Sep 13, 2019
Nov 24, 2019
Mar 9, 2024
Mar 9, 2024

Repository files navigation

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
activity => status Default activity status to use when not streaming online dnd idle invisible
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