2022-07-15 17:26:25 +07:00
|
|
|
'use strict';
|
2024-01-12 22:29:12 +07:00
|
|
|
const CallState = require('../../../structures/CallState');
|
2022-07-15 17:26:25 +07:00
|
|
|
const { Events } = require('../../../util/Constants');
|
|
|
|
|
module.exports = (client, packet) => {
|
|
|
|
|
/**
|
|
|
|
|
* Emitted whenever delete a call
|
|
|
|
|
* @event Client#callDelete
|
2023-03-05 17:05:40 +07:00
|
|
|
* @param {Call} call Call
|
2022-07-15 17:26:25 +07:00
|
|
|
*/
|
2024-01-12 22:29:12 +07:00
|
|
|
client.emit(Events.CALL_DELETE, new CallState(client, packet.d));
|
2022-07-15 17:26:25 +07:00
|
|
|
};
|