/DJS-Modals

This is a discord.js example for the newly released Discord Modals

Primary LanguageJavaScript

DJS-Modals

This is a discord.js (v13.7) example for the newly released Discord Modals

Installation

  1. Clone the repository (git clone https://github.com/DanPlayz0/DJS-Modals.git --branch djs)
  2. Install the dependencies (npm install)
  3. Fill in the config.js file with your bot token and prefix.
  4. Run the bot (npm start)

Usage

  1. Start the bot (npm start)
  2. Open your discord client
  3. Type !preview to get a button that you can press to open the modal.
  4. Use the modal to do something.