Metrios/modules/hello_world/index.js

29 lines
634 B
JavaScript

let reply = {
status: "success",
action: "reply",
format: "embed",
message: "Testing",
profile: {
color: 0x0099f,
title: "Testing embed",
url: undefined,
author: undefined,
description: "Description of the testing embed",
thumbnail: undefined,
fields: [
{
name: "Field 1",
value: "Hello there"
}
],
image: undefined,
timestamp: undefined,
footer: {
text: "Footer text",
icon_url: undefined
}
}
};
console.log(JSON.stringify(reply));