Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/commands/Play.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default class Play extends Command {

/* check if a player already exists, if so check if the invoker is in our vc. */
let player = ctx.client.music.players.get(ctx.guild!.id);
if (player && player.channelId !== vc.id) {
if (player && player.channelId && player.channelId !== vc.id) {
return ctx.reply(Utils.embed(`Join <#${player.channelId}> bozo`), { ephemeral: true });
}

Expand Down