1.1.1 • Published 4 years ago

@picklerickdev/discord-webhooks v1.1.1

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

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


ParamTypeOptionalDefaultDescription
channeltextChannelfalsenoneThe channel to send the webhook to
messagestring or embedfalsenoneThe message or embed to send
optionsobjecttruenoneThe options for the webhook
options.namestringtruePackage NameThe title of the webhook
options.iconiconURLtrueWebhook IconThe icon of the webhook