Code Monkey home page Code Monkey logo

discord-application-bot's Introduction

discord-application-bot

A simple application bot for discord that allows admins to create application forms for the user to complete.

Usage

Running

  1. Create a file in this directory called "auth.json" and put in it "{"token": "YOUR-AUTH-TOKEN"}"
  2. Run with npm run bot

Server Setup

  1. Add the role Admin and add this role to the admins.
  2. Message $setsubmissions in your server to tell the bot to submit to you (or alternatively use the $setsubmissionschannel command).
  3. Message $setup to configure the application form.
  4. Message $endsetup to finish.

Applying

End users need to run $apply to start an application.

Customising

Command Symbol

To add or change the symbol (or string) that goes before the command edit activation-strings.js and add or remove strings from the array.

Messages

To change what the bot says change the appropriate text in strings.js

Default Questions

To change the default application questions that are set when the bot starts up edit the application-questions.js file.

Extending Functionality

To add a command to this bot add a function to the module.exports object in actions.js.
The function needs to be named the command you want it to listen for and it will call that with the message passed as a parameter.

discord-application-bot's People

Watchers

 avatar

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.