Advertisement
Guest User

Untitled

a guest
Dec 10th, 2016
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. if (command === 'test') {
  2. message.channel.sendMessage("", {embed: {
  3. color: 3447003,
  4. author: {
  5. name: bot.user.username,
  6. icon_url: bot.user.avatarURL
  7. },
  8. title: 'This is a test',
  9. description: 'This is a test for embed messages',
  10. fields: [
  11. {
  12. name: 'Testing',
  13. value: 'This should look cool'
  14. },
  15. {
  16. name: 'Hello',
  17. value: 'Hello there :D'
  18. },
  19. {
  20. name: 'cya',
  21. value: 'end of this message'
  22. }
  23. ],
  24. timestamp: new Date(),
  25. footer: {
  26. icon_url: bot.user.avatarURL,
  27. text: 'Cool Message'
  28. }
  29. }});
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement