Skip to content

Commit bf50b0b

Browse files
Revert "break interactions for a test"
This reverts commit 6fc3201.
1 parent 6fc3201 commit bf50b0b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/interactions/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ class InteractionHandler {
195195
async handleInteraction(
196196
internalInteraction: InternalInteractionType<APIInteraction>
197197
): Promise<InteractionReturnData> {
198-
throw new Error(); /*
199198
const interaction = internalInteraction.interaction;
200199
switch (interaction.type) {
201200
case InteractionType.Ping:
@@ -235,7 +234,7 @@ class InteractionHandler {
235234
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any
236235
`No handler for interaction type \`${(interaction as any).type}\``
237236
);
238-
}*/
237+
}
239238
}
240239
handleMessageCommands(
241240
internalInteraction: InternalInteractionType<APIMessageApplicationCommandInteraction>

0 commit comments

Comments
 (0)