Created
February 6, 2019 09:05
-
-
Save thomasstr/48c5017a38813e02cec89d7c8a54cf2b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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