text: const Discord = require ('discord.js')
  const emotes = require ('../../configs/emotes.json')
  
  module.exports.config = {
      name: "play",
      aliases: [],
      description: 'This will play the specified music into your current voice channel',
      category: "music",
      dmOnly: false, // Boolean
      guildOnly: true, // Boolean
      args: true, // Boolean
      usage: '<song>',
      cooldown: 5, //seconds(s)
      guarded: false, // Boolean
      permissions: ["SEND_MESSAGES"],
  }
  
  module.exports.run = async (client, message, args) => {
      if (!message.member.voice.channel) return message.channel.send(`:warning: | You are not in a voice channel!`);
      if (message.guild.me.voice.channel && message.member.voice.channel.id !== message.guild.me.voice.channel.id) return message.channel.send(`:warning: | You are not in the same voice channel as the bot!`);
  
      if (!args[0]) return message.channel.send(`:warning: | Please provide a title or URL for a song!`); 
  
      client.player.play(message, args.join(" "), { firstResult: true });
  }