UNPKG

discord.js-selfbot-v13

Version:

A unofficial discord.js fork for creating selfbots [Based on discord.js v13]

13 lines (12 loc) 453 B
'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); };