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

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

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

About

๐Ÿค– CustomBotJS - A Discord Bot for PUBG Custom Game organization

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published