1.0.3 • Published 1 year ago
touya v1.0.3
const { getSend } = require('touya');
const webhookUrl = 'WEBHOOK_URL';
const messages = ['MESSAGE']; //OPTIONAL
const embed = {
title: 'My Embed Title',
description: 'This is my embed description',
color: 0xff0000, // color
footer: {
text: 'My Embed Footer'
}
};
getSend(webhookUrl, messages, embed);
Made with 💖