function generalHelp(client, message) {
  const botIcon = client.user.displayAvatarURL;
  let helpMessage = new Discord.RichEmbed()
    .setTitle('Welcome to Chinatown Discord Bot! :mahjong:')
    .setDescription('Here are a list of usable commands.')
    .setColor('#e01d1d')
    .setThumbnail(botIcon)
    .setFooter('Created by Jason Yatfai Zhang.');

  const prefix = config ? config.prefix : process.env.PREFIX;
  for (const [cmdName, cmdFull] of client.commands) {
    helpMessage.addField(prefix + cmdName + '  ' + cmdFull.help.parameters, cmdFull.help.descShort);
  }
  return helpMessage;
}
// used for when regular !help is called
used for when regular !help is called
used for when regular !help is called
function generalHelp(client, message) {
  const botIcon = client.user.displayAvatarURL;
  let helpMessage = new Discord.RichEmbed()
    .setTitle('Welcome to Chinatown Discord Bot! :mahjong:')
    .setDescription('Here are a list of usable commands.')
    .setColor('#e01d1d')
    .setThumbnail(botIcon)
    .setFooter('Created by Jason Yatfai Zhang.');
  const prefix = config ? config.prefix : process.env.PREFIX;
  for (const [cmdName, cmdFull] of client.commands) {
    helpMessage.addField(prefix + cmdName + '  ' + cmdFull.help.parameters, cmdFull.help.descShort);
  }
  return helpMessage;
}
function generalHelp ( client , message ) { const botIcon = client . user . displayAvatarURL ; let helpMessage = new Discord . RichEmbed ( ) . setTitle ( 'Welcome to Chinatown Discord Bot! :mahjong:' ) . setDescription ( 'Here are a list of usable commands.' ) . setColor ( '#e01d1d' ) . setThumbnail ( botIcon ) . setFooter ( 'Created by Jason Yatfai Zhang.' ) ; const prefix = config ? config . prefix : process . env . PREFIX ; for ( const [ cmdName , cmdFull ] of client . commands ) { helpMessage . addField ( prefix + cmdName + '  ' + cmdFull . help . parameters , cmdFull . help . descShort ) ; } return helpMessage ; }
used for when regular !help is called
used for when regular !help is called