From 087c59288da7160684ad441dba07d43c63fe041b Mon Sep 17 00:00:00 2001 From: RainyXeon / Date: Thu, 21 Dec 2023 16:26:34 +0700 Subject: [PATCH] Update Play.ts --- src/commands/prefix/Music/Play.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/commands/prefix/Music/Play.ts b/src/commands/prefix/Music/Play.ts index d134c839..fe9d8626 100644 --- a/src/commands/prefix/Music/Play.ts +++ b/src/commands/prefix/Music/Play.ts @@ -140,12 +140,8 @@ export default class implements PrefixCommand { private checkSameVoice( message: Message, ) { - if ( + return ( message.member!.voice.channel !== message.guild!.members.me!.voice.channel - ) { - return false; - } else { - return true; - } + ) } }