Giter Club home page Giter Club logo

commanderbox's Introduction

CommanderBox

CommanderBox is a skribbl.io bot that provides various functionalities for lobbies.

Setting up the Bot

  1. Clone the repository to your local machine.

  2. Install the necessary dependencies by running the following command:

npm i
  1. Set up the .env file with the required environment variables, including the webhook URL and a prefix. An example .env file:
PREFIX=!
LOBBY_CODE=LOBBY CODE GOES HERE
WEBHOOK_URL=DISCORD WEBHOOK GOES HERE
  1. Run the bot using the following command:
node index.js

Hosting the Bot

You can host the bot on any server that supports Node.js applications. Some popular hosting options include Heroku, AWS, Replit, and DigitalOcean. Ensure that the necessary environment variables are properly configured in your hosting environment.

Feel free to customize the bot's functionality and commands to suit your specific requirements.

Chat Commands

The CommanderBox provides a set of commands that can be utilized within the skribbl.io game chat. These commands enhance the skribbl.io experience and facilitate game management, interaction, and moderation.

  • startgame - Start a new game. (Host)
  • vote <option> - Initiate a vote with the specified option.
  • votekick <username> Initiate a votekick with a specified username.
  • userinfo <username> - Retrieve information about a specific player.
  • spam <message> <time> <cooldown> - Initiate a spam with a specified message, duration, and cooldown time.
  • say <message> - Send a message in the game chat.
  • ping - Check if the bot's replying back to any live messages.
  • guess - Automatically guesses the current word for the round.
  • pick - Automatically choose a word for the game. (Drawer)
  • relay - Shows skribbl.io chat inside of discord.
  • leave - Disconnect from the game & host.
  • kick <username> - Kick a player from the game (Host)
  • info - Retrieve information about the game and the bot.
  • help - Display a list of available commands and their usage.
  • endgame - End the current game. (Host)
  • draw - Initiate a drawing event within the game. Must be drawer & need a draw data file.
  • record - Saves the current drawing into a JSON file onto the drawings directory with a specified name.
  • clear - Clear the game canvas. (Drawer)
  • ban <username> - Ban a player from the game. (Host)

These commands empower players to manage and control various aspects of the skribbl.io game environment, fostering an enhanced and interactive gaming experience.

Feel free to explore and customize these commands to amplify the experience within skribbl.io.

License

This project is licensed under the GPL-3.0 License - see the LICENSE file for details.

commanderbox's People

Contributors

kpxyy avatar spcfork avatar

Watchers

 avatar

Forkers

spcfork

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.