text: const Discord = require('discord.js');
  const weather = require('weather-js');
  
  module.exports.run = (client, message, args) => {
    try {
    weather.find({search: args.join(" "), degreeType: 'C'}, function(err, result) {
        if (err) message.channel.send(err);
        if (result === undefined || result.length === 0) {
            message.channel.send('**Please enter a location!**')
            return;
        }
        var current = result[0].current;
        var location = result[0].location;
        const embed = new Discord.RichEmbed()
            .setDescription(`**${current.skytext}**`)
            .setAuthor(`Weather for ${current.observationpoint}`)
            .setThumbnail(current.imageUrl)
            .setColor(0x00AE86)
            .addField('Timezone',`UTC${location.timezone}`, true)
            .addField('Degree Type',location.degreetype, true)
            .addField('Temperature',`${current.temperature} Degrees`, true)
            .addField('Feels Like', `${current.feelslike} Degrees`, true)
            .addField('Winds',current.winddisplay, true)
            .addField('Humidity', `${current.humidity}%`, true)
            message.channel.send({embed});
    })
      } catch(err) {
        const errorlogs = client.channels.get('464424869497536512')
        message.channel.send(`Whoops, We got a error right now! This error has been reported to Support center!`)
        errorlogs.send(`Error on weather commands!\n\nError:\n\n ${err}`)
      }
  };
  
  exports.conf = {
    enabled: true,
    guildOnly: true,
    aliases: [],
    permLevel: "Users"
  };
  
  exports.help = {
  	name: "weather",
    category: "Util",
    description: "Check the weather for specific area",
    usage: "weather <city>"
  }