Skip to content

Commit

Permalink
fix: send guild
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Mar 28, 2023
1 parent 7e6b004 commit ac225c2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -6,5 +6,5 @@ const Events = require('../../../util/Events');
module.exports = (client, { d: data }) => {
const guild = client.guilds.cache.get(data.guild_id);
if (!guild) return;
client.emit(Events.VoiceChannelEffectSend, new VoiceChannelEffect(data));
client.emit(Events.VoiceChannelEffectSend, new VoiceChannelEffect(data), guild);
};

0 comments on commit ac225c2

Please sign in to comment.