JuanDelPueblo / discord-application-bot

Create forms, receive applications, and choose who to approve, all within your own Discord server.
4 stars 2 forks source link
discord discord-bot discord-js forms

Discord Application Bot

image

Create forms, receive applications, and choose who to approve, all within your own Discord server. Each form is managed in a single channel where the applications are answered inside threads.

Key Features

Installation

  1. Install Node.js (recommended version 18 or newer, bot was developed on version 18.16.0)
  2. Clone this repository
  3. In a terminal inside the repository directory, run the command npm install to install all the required dependencies
  4. Run the command npm run start once, it will generate the config.json file and prompt you to configure the token and client ID of the bot in the config.json file.
  5. Once configured, run npm run start again to start the bot.
  6. Invite the bot to your server and start using it!

Usage

To create a form, use the /form setup command in a text channel to create a form. It will prompt you for the title, and optionally a description and alternate button label. Once done, you may use the following commands to configure the form.

Once you are happy with the configuration, the last command needed to be run is /form submit True to enable form submissions. This process can then be repeated for any other forms you wish to setup.