Giter VIP home page Giter VIP logo

custombotjs's Introduction

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

custombotjs's People

Contributors

danbennettuk avatar dependabot-preview[bot] avatar dependabot[bot] avatar depfu[bot] avatar imgbotapp avatar mrsergo15 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

custombotjs's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.