1.0.4 • Published 4 years ago
discord-suggest v1.0.4
Discord Suggest
This package is currently under heavy development. If you encountered any bugs or have some feature requests/questions, please open a new issue and describe it briefly.
Examples
// First we call the builder
const discordSuggest = require("discord-suggest");
const suggestManager = new discordSuggest(message /* The message parameter */, "ID-CHANNEL-SUGGESTION", "EN or ES" /* Default is ES*/)
Then we will use the methods in it
Create
// With this first method we will create a suggestion
suggestManager.create("Description suggestion")
And we will have something like this
Webhook
suggestManager.webhook("Description suggestion")
We finish this with the editing methods, these will let us know if the suggestion was accepted or if it was denied
Like this: By the way, I forgot to mention that the embed in the footer, propose a key, that key will serve to choose which embed will be edited
suggestManager.accept("rk6o4x")
// And
suggestManager.deny("rk6o4x")
I appreciate the possible support this module has. We expect new versions of it.
For more information and support do not forget to stop by this server and contact me as Ilöuh#0711