Loading...
Loading...
Send Discord messages and notifications via webhook. Use when you need to post alerts, updates, or messages to Discord channels without full bot setup.
npx skill4agent add winsorllc/upgraded-carnival discord-notifyAGENT_LLM_DISCORD_WEBHOOK_URLconst { sendDiscordMessage } = require('./index.js');
// Simple message
await sendDiscordMessage('Hello from PopeBot!');
// Rich embed
await sendDiscordMessage('', {
embeds: [{
title: 'Job Complete',
description: 'The task finished successfully',
color: 0x00ff00,
fields: [
{ name: 'Duration', value: '5 minutes', inline: true },
{ name: 'Status', value: 'Success', inline: true }
],
timestamp: new Date().toISOString()
}]
});
// With mentions
await sendDiscordMessage('Task done <@123456789>!');<@USER_ID><@&ROLE_ID>