Skip to content

Instantly share code, notes, and snippets.

@thomasstr
Created February 6, 2019 09:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomasstr/48c5017a38813e02cec89d7c8a54cf2b to your computer and use it in GitHub Desktop.
Save thomasstr/48c5017a38813e02cec89d7c8a54cf2b to your computer and use it in GitHub Desktop.
var arr = ["User1", "User2", "User3"];
message.channel.send({embed: {
color: 3447003,
author: {
name: client.user.username,
icon_url: client.user.avatarURL
},
title: "This is an embed",
url: "http://google.com",
description: "This is a test embed to showcase what they look like and what they can do.",
fields: [{
name: "Fields",
value: arr
}
],
timestamp: new Date(),
footer: {
icon_url: client.user.avatarURL,
text: "© Example"
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment