fix(Event): name

This commit is contained in:
March 7th
2022-06-14 08:48:06 +07:00
parent 72238015f9
commit 83c809cc32
8 changed files with 25 additions and 35 deletions

4
typings/index.d.ts vendored
View File

@@ -4050,7 +4050,7 @@ export interface ClientEvents extends BaseClientEvents {
interaction: [interaction: Interaction];
interactionCreate: [interaction: Interaction | { nonce: Snowflake; id: Snowflake }];
interactionSuccess: [interaction: { nonce: Snowflake; id: Snowflake }];
interactionFailed: [interaction: { nonce: Snowflake; id: Snowflake }];
interactionFailure: [interaction: { nonce: Snowflake; id: Snowflake }];
interactionModalCreate: [modal: Modal];
shardDisconnect: [closeEvent: CloseEvent, shardId: number];
shardError: [error: Error, shardId: number];
@@ -4134,7 +4134,7 @@ export interface ConstantsEvents {
INTERACTION_CREATE: 'interactionCreate';
INTERACTION_SUCCESS: 'interactionSuccess';
INTERACTION_MODAL_CREATE: 'interactionModalCreate';
INTERACTION_FAILED: 'interactionFailed';
INTERACTION_FAILURE: 'interactionFailure';
ERROR: 'error';
WARN: 'warn';
DEBUG: 'debug';