fix(Event): name
This commit is contained in:
@@ -4,8 +4,8 @@ const { Events } = require('../../../util/Constants');
|
||||
module.exports = (client, { d: data }) => {
|
||||
/**
|
||||
* Emitted whenever client user send interaction and error
|
||||
* @event Client#interactionFailed
|
||||
* @event Client#interactionFailure
|
||||
* @param {InteractionResponseBody} data data
|
||||
*/
|
||||
client.emit(Events.INTERACTION_FAILED, data);
|
||||
client.emit(Events.INTERACTION_FAILURE, data);
|
||||
};
|
||||
|
@@ -56,7 +56,7 @@ const handlers = Object.fromEntries([
|
||||
['INTERACTION_CREATE', require('./INTERACTION_CREATE')],
|
||||
['INTERACTION_SUCCESS', require('./INTERACTION_SUCCESS')],
|
||||
['INTERACTION_MODAL_CREATE', require('./INTERACTION_MODAL_CREATE')],
|
||||
['INTERACTION_FAILED', require('./INTERACTION_FAILED')],
|
||||
['INTERACTION_FAILURE', require('./INTERACTION_FAILURE')],
|
||||
['STAGE_INSTANCE_CREATE', require('./STAGE_INSTANCE_CREATE')],
|
||||
['STAGE_INSTANCE_UPDATE', require('./STAGE_INSTANCE_UPDATE')],
|
||||
['STAGE_INSTANCE_DELETE', require('./STAGE_INSTANCE_DELETE')],
|
||||
|
Reference in New Issue
Block a user