mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 13:14:58 +05:00
no await
This commit is contained in:
parent
93948415df
commit
8e1418b58f
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ class Play extends Command {
|
|||
if (!perms.has("CONNECT") || !perms.has("SPEAK")) return message.error("music/play:VOICE_CHANNEL_CONNECT");
|
||||
|
||||
try {
|
||||
await this.client.player.play(message, args.join(" "));
|
||||
this.client.player.play(message, args.join(" "));
|
||||
} catch (e) {
|
||||
message.error("music/play:ERR_OCCURRED", { error: e });
|
||||
console.error(e);
|
||||
|
|
Loading…
Reference in a new issue