11
src/client/websocket/handlers/INTERACTION_FAILURE.js
Normal file
11
src/client/websocket/handlers/INTERACTION_FAILURE.js
Normal file
@@ -0,0 +1,11 @@
|
||||
'use strict';
|
||||
const { Events } = require('../../../util/Constants');
|
||||
|
||||
module.exports = (client, { d: data }) => {
|
||||
/**
|
||||
* Emitted whenever client user send interaction and error
|
||||
* @event Client#interactionFailure
|
||||
* @param {InteractionResponseBody} data data
|
||||
*/
|
||||
client.emit(Events.INTERACTION_FAILURE, data);
|
||||
};
|
Reference in New Issue
Block a user