// PiscoBot Script

var commandDescription = {
  name: '',
  author: '',
  trigger: '',
  version: 1.0,
  description: '',
  module: ''
};

global.botHelp.push(commandDescription);

global.piscobot.hears(
  ['introduce yourself', '(who|what) are you', 'intro(duction)?'], ['direct_message',
    'direct_mention'
  ],
  function(bot, message) {
    if(message.event !== 'direct_message') {
      bot.reply(message, 'Just sent you a PM about that, <@' + message.user + '>. :grin:');
    }
    bot.startPrivateConversation(message,
      function(err, dm) {
        var introduction = {
          'attachments': [{
            'fallback': 'PiscoBot Intro Text',
            'color': '#FF7300',
            'pretext': 'Hey, there! I\'m PiscoBot!',
            'author_name': 'devAcademy',
            'author_link': 'https://devacademy.la',
            'author_icon': 'https://devacademy.la/favicon.png',
            'title': 'PiscoBot Introduction',
            'title_link': 'https://github.com/devacademyla/PiscoBot',
            'text': 'PiscoBot is a bot made by <https://devacademy.la|devAcademy>' +
              ' with lots of love. Here are a few things I can do to help make your life a ' +
              'little easier. Enjoy responsibly. :tropical_drink:',
            'fields': [{
              'title': '\"spotify me (.*)\"',
              'value': 'Look up a song on Spotify.',
              'short': false
            }, {
              'title': '\"calc\"',
              'value': 'Do some math for you.',
              'short': false
            }, {
              'title': '\"command list\"',
              'value': 'Get you a complete list of commands.',
              'short': false
            }],
            'footer': 'PiscoBot',
            'footer_icon': 'https://raw.githubusercontent.com/' +
              'twitter/twemoji/gh-pages/72x72/1f379.png'
          }]
        };
        dm.say(introduction);
      }
    );
  }
);

@@ -49,16 +49,29 @@
  name: '
+Introductions
 ',%0A  aut
@@ -72,24 +72,56 @@
 %0A  author: '
+Daniel Gallegos %5B@that_taco_guy%5D
 ',%0A  trigger
@@ -123,16 +123,28 @@
 igger: '
+introduction
 ',%0A  ver
@@ -170,16 +170,47 @@
 ption: '
+Have PiscoBot introduce itself.
 ',%0A  mod
@@ -215,16 +215,20 @@
 odule: '
+Core
 '%0A%7D;%0A%0Agl
@@ -726,27 +726,34 @@
 ': '
-PiscoBot Intro Text
+Hey, there! I%5C'm PiscoBot!
 ',%0A 

Add introduction help description