This is a discord.js (v13.7) example for the newly released Discord Modals
- Clone the repository (
git clone https://github.com/DanPlayz0/DJS-Modals.git --branch djs
) - Install the dependencies (
npm install
) - Fill in the
config.js
file with your bot token and prefix. - Run the bot (
npm start
)
- Start the bot (
npm start
) - Open your discord client
- Type
!preview
to get a button that you can press to open the modal. - Use the modal to do something.