importdiscordwebhookfrom'https://deno.land/x/discordwebhook@0.0.1/mod.ts';const webhook =newdiscordwebhook(webhookUrl?:string);// Creates a webhook message
webhook.createMessage(message?:string, params?: executeParams).then(console.log);// Edits a webhook message
webhook.editMessage(messageId:string, content:string, embeds?: embedStructure[]|undefined, allowed_mentions?: object |undefined).then(console.log);// Deletes a webhook message
webhook.deleteMessage(messageId:string).then(console.log);
Contributing
If you want, fill in the gaps that are missing. Check out the
Discord Webhook Documentation to see what methods to add. Make a pull
request once you are done :)
Please message us in our Discord Server |
Authors: Swaggger/BurnedBed & Mafia