1.1.0 • Published 2 years ago

eris-modals v1.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Eris Modals

Adds i.createModal option to Eris command interaction, component interaction && unknown interaction

How to use?

Its very simple

const eris = require("eris");
const client = new eris("token" , {intents: ["all"]});
require("eris-modals")(eris)

Now you'll get i.createModal in eris command, component, unknown interaction

i.createModal(options);

/*
Modal formatting options :- https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-response-object
*/