Skip to content

Commit

Permalink
docs: document event
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Apr 2, 2023
1 parent 506adb0 commit b27c1d0
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -6,5 +6,11 @@ const Events = require('../../../util/Events');
module.exports = (client, { d: data }) => {
const guild = client.guilds.cache.get(data.guild_id);
if (!guild) return;

/**
* Emmited when someone sends an effect, such as an emoji reaction, in a voice channel the client is connected to.
* @event Client#voiceChannelEffectSend
* @param {VoiceChannelEffect} voiceChannelEffect The sent voice channel effect
*/
client.emit(Events.VoiceChannelEffectSend, new VoiceChannelEffect(data, guild));
};

0 comments on commit b27c1d0

Please sign in to comment.