@picklerickdev/discord-webhooks
v1.1.1
Published
Easily create Discord Webhooks & create fallbacks using Discord.js
Downloads
6
Readme
Discord Webhooks Manager
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