feat(Document): Update

This commit is contained in:
March 7th
2022-06-16 12:34:03 +07:00
parent 3bd4966d53
commit e045e60fb0
8 changed files with 33 additions and 60 deletions

View File

@@ -9,9 +9,5 @@ const { Events } = require('../../../util/Constants');
module.exports = (client, packet) => {
if (client.user.bot) client.actions.InteractionCreate.handle(packet.d);
/**
* Emitted whenever client user send interaction
* @event Client#interactionSuccess
* @param {InteractionResponseBody} data InteractionResponseBody
*/ else client.emit(Events.INTERACTION_CREATE, packet.d);
else client.emit(Events.INTERACTION_CREATE, packet.d);
};