{"size": 589, "ext": "js", "max_stars_repo_path": "commands/Music/stop.js", "max_stars_repo_name": "ItsBhuvnesh/BhuvneshSB", "max_stars_repo_stars_event_min_datetime": "2021-12-04T13:22:22.000Z", "max_stars_repo_stars_event_max_datetime": "2021-12-16T13:18:10.000Z", "max_issues_repo_path": "commands/Music/stop.js", "max_issues_repo_name": "CrazyPlayz256/BhuvneshSB", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "commands/Music/stop.js", "max_forks_repo_name": "CrazyPlayz256/BhuvneshSB", "max_forks_repo_forks_event_min_datetime": "2021-12-16T05:59:27.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-18T02:49:56.000Z"}
{"max_stars_count": 4, "max_issues_count": null, "max_forks_count": 5, "avg_line_length": 589.0, "max_line_length": 589, "alphanum_fraction": 0.7283531409}
const{Client:Client,Message:Message,MessageEmbed:MessageEmbed}=require("discord.js-selfbot"),{send:send}=require("../../Utility/functions");module.exports={name:"stop",description:"Stops Music Player!",run:async(e,s,t)=>{try{const t=(new MessageEmbed).setColor(e.color).setFooter(`Made by ${e.owner.tag}`,e.owner.displayAvatarURL({dynamic:!0})),{guild:r}=s;let i=e.manager.players.get(r.id);if(!i)return t.setDescription("Music Not Playing!"),await send(s,t,e);i&&i.stop(),i&&i.queue&&i.queue.clear(),t.setDescription("Stopped The Music!"),await send(s,t,e)}catch(e){throw new Error(e)}}};