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
This commit is contained in:
12
src/client/websocket/handlers/CALL_UPDATE.js
Normal file
12
src/client/websocket/handlers/CALL_UPDATE.js
Normal file
@@ -0,0 +1,12 @@
|
||||
'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);
|
||||
};
|
||||
Reference in New Issue
Block a user