npm i paper-pigeon
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");
Open Discord -> Integrations -> Create Webhook -> Copy Webhook URL
import { Slack } from 'paper-pigeon';
const send = new Slack("WEBHOOK_URL");
send.message("Starting server!");
send.success("Data loaded from API");
send.error("Failed to load resource");
Create Slack App -> Add incoming webhooks feature -> Activate Webhook -> Add new webhook -> Copy webhook URL