Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (command === 'test') {
- message.channel.sendMessage("", {embed: {
- color: 3447003,
- author: {
- name: bot.user.username,
- icon_url: bot.user.avatarURL
- },
- title: 'This is a test',
- description: 'This is a test for embed messages',
- fields: [
- {
- name: 'Testing',
- value: 'This should look cool'
- },
- {
- name: 'Hello',
- value: 'Hello there :D'
- },
- {
- name: 'cya',
- value: 'end of this message'
- }
- ],
- timestamp: new Date(),
- footer: {
- icon_url: bot.user.avatarURL,
- text: 'Cool Message'
- }
- }});
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement