Coder Social home page Coder Social logo

carrybot's Introduction

CarryBot

Need help organizing your boss runs? CarryBot might be able to help.

Available commands

  • !add - Adds [user] to the party. Must be a party leader to use this command.
  • !create - Create a new party as a leader. [bossName] must be a single word; additional arguments are treated as comments.
  • !dissolve - Dissolves the current party. Must be a party leader.
  • help - Displays all the available commands.
  • !kick - Kicks a user from your party. Must be a party leader.
  • !list - Lists all current parties in the server.
  • !ping - Ping/Pong commmand.

Installation

What you'll need:

Run npm install in the bot directory to install the dependencies. This could take a minute or two; just be patient.

Invite the Bot

Register for a new Discord application, keeping track of the client ID and client secret you are given. Do not share this information. Next, navigate to
https://discordapp.com/oauth2/authorize?&client_id=YOUR_CLIENT_ID&scope=bot&permissions=0,
replacing YOUR_CLIENT_ID with the client ID you received from the previous link. If you did everything right, the bot should appear offline in the server (for now).

Note: You'll need to have sufficient permissions in the server to be able to invite the bot.

Configure the Bot for Your Server

Rename the file settings.json.example to settings.json with the correct information for your discord server.

"DISCORD":        [Your discord bot token]
"PREFIX":         [The prefix you'd like to use for this bot's commands. Default is '!']
"SERVER":         [The name of the server that KaraokeBot is joining]
"TEXTCHANNEL":    [The name of the text channel that KaraokeBot listens to for commands]
"LEADERROLENAME": [The name of the role that leaders have. Only leaders can organize parties. Default is 'leader']

That's it, you're good to go! Run npm start and carrybot should come online.

0.0.1 - 2017-11-11

Added

  • README now contains installation instructions and command details
  • Initial (Alpha?) release

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.