Skip to content

Commit 6fc3201

Browse files
break interactions for a test
1 parent acdfd7e commit 6fc3201

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/interactions/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ class InteractionHandler {
195195
async handleInteraction(
196196
internalInteraction: InternalInteractionType<APIInteraction>
197197
): Promise<InteractionReturnData> {
198+
throw new Error(); /*
198199
const interaction = internalInteraction.interaction;
199200
switch (interaction.type) {
200201
case InteractionType.Ping:
@@ -234,7 +235,7 @@ class InteractionHandler {
234235
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any
235236
`No handler for interaction type \`${(interaction as any).type}\``
236237
);
237-
}
238+
}*/
238239
}
239240
handleMessageCommands(
240241
internalInteraction: InternalInteractionType<APIMessageApplicationCommandInteraction>

0 commit comments

Comments
 (0)