This commit is contained in:
JonnyBro 2021-12-26 17:12:03 +05:00
parent 93948415df
commit 8e1418b58f

View file

@ -28,7 +28,7 @@ class Play extends Command {
if (!perms.has("CONNECT") || !perms.has("SPEAK")) return message.error("music/play:VOICE_CHANNEL_CONNECT"); if (!perms.has("CONNECT") || !perms.has("SPEAK")) return message.error("music/play:VOICE_CHANNEL_CONNECT");
try { try {
await this.client.player.play(message, args.join(" ")); this.client.player.play(message, args.join(" "));
} catch (e) { } catch (e) {
message.error("music/play:ERR_OCCURRED", { error: e }); message.error("music/play:ERR_OCCURRED", { error: e });
console.error(e); console.error(e);