@picklerickdev/discord-webhooks

Easily create Discord Webhooks & create fallbacks using Discord.js

Usage no npm install needed!

<script type="module">
  import picklerickdevDiscordWebhooks from 'https://cdn.skypack.dev/@picklerickdev/discord-webhooks';
</script>

README

Discord Webhooks Manager

Discord

This package creates an easy way to send webhooks, as well as providing fallbacks if the Discord Client does not have the proper permissions.

If the Discord Client does not have the permission Manage Webhooks, it simply sends a normal message instead, causing no issues and working seamlessly

Documentation


Param Type Optional Default Description
channel textChannel false none The channel to send the webhook to
message string or embed false none The message or embed to send
options object true none The options for the webhook
options.name string true Package Name The title of the webhook
options.icon iconURL true Webhook Icon The icon of the webhook