Package Exports
- paper-pigeon
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (paper-pigeon) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Installation
npm i paper-pigeon
Usage
import { Discord } from 'paper-pigeon';
const send = new Discord("WEBHOOK_URL");
send.message("Starting server!");
send.success("Data loaded from API");
send.error("Failed to load resource");
Get Discord Webhook URL
Open Discord -> Integrations -> Create Webhook -> Copy Webhook URL.