March 7th fad6d708b4 chore(release): v2.3.75
- fix: VoiceStateUpdate event not working (DM channels + Group DM channels)
- docs: add sendSlash method
- feat: Add new Event: callCreate, callUpdate, callDelete
- fix(GroupDM): method require Class
2022-07-15 17:26:25 +07:00

13 lines
453 B
JavaScript

'use strict';
const { Events } = require('../../../util/Constants');
module.exports = (client, packet) => {
/**
* Emitted whenever update a call
* @event Client#callUpdate
* @param {Snowflake} channelId DM / Group DM channel ID
* @param {string} region Voice server region
* @param {?Snowflake[]} ringing List of user ID who is ringing
*/
client.emit(Events.CALL_UPDATE, packet.d.channel_id, packet.d.region, packet.d.ringing);
};