Skip to content

Commit

Permalink
Update Play.ts mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
RainyXeon authored Dec 21, 2023
1 parent 16d4424 commit 63851ce
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/commands/slash/Music/Play.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,14 +180,9 @@ export default class implements SlashCommand {
private checkSameVoice(
interaction: CommandInteraction,
) {
if (
(interaction.member as GuildMember)!.voice.channel !==
return (interaction.member as GuildMember)!.voice.channel !==
interaction.guild!.members.me!.voice.channel
) {
return false;
} else {
return true;
}
)
}

// Autocomplete function
Expand Down

0 comments on commit 63851ce

Please sign in to comment.