Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

quick.hook

1.5.1 • Public • Published

Quick.hook

Discord Server YouTube Channel

Support Discord: https://discord.gg/plexidev


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

If the client does not have the permission Manage Webhooks, it will send a normal message instead, causing no issues and working seamlessly


Documentation

Parameter 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 Server Invite The title of the webhook
options.icon iconURL true Webhook Icon The icon of the webhook

Examples

Image Code

*Icons by Nick Roach


Need Icons?

Be sure to check the license before downloading/using an icon

Install

npm i quick.hook

DownloadsWeekly Downloads

1,990

Version

1.5.1

License

MIT

Unpacked Size

5.24 kB

Total Files

5

Last publish

Collaborators

  • avatar
  • avatar