Skip to content

Commit

Permalink
Update InteractionCreate.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasB25 committed Sep 30, 2024
1 parent 167cf1c commit 83401cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/events/client/InteractionCreate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export default class InteractionCreate extends Event {

if (command.player.active) {
const queue = this.client.manager.getPlayer(interaction.guildId);
if (!queue.queue.current) {
if (!queue?.queue.current) {
return await interaction.reply({
content: T(locale, 'event.interaction.no_music_playing'),
});
Expand Down

0 comments on commit 83401cb

Please sign in to comment.