UNPKG

discord.js-selfbot-v13-proxy

Version:

A unofficial discord.js-selfbot-v13 fork for creating selfbots with proxy [Based on discord.js v13]

15 lines (14 loc) 435 B
'use strict'; const Call = require('../../../structures/Call'); const { Events } = require('../../../util/Constants'); module.exports = (client, packet) => { for (const voice of packet.d.voice_states) { client.actions.VoiceStateUpdate.handle(voice); } /** * Emitted whenever received a call * @event Client#callCreate * @param {Call} call Call */ client.emit(Events.CALL_CREATE, new Call(client, packet.d)); };