diff --git a/src/handler/events/interactionCreate.ts b/src/handler/events/interactionCreate.ts index cc9ac94..09603ef 100644 --- a/src/handler/events/interactionCreate.ts +++ b/src/handler/events/interactionCreate.ts @@ -25,7 +25,6 @@ function applicationCommandHandler(mod: Module | undefined, interaction: Command match(interaction) .when(isChatInputCommand, i => { const ctx = Context.wrap(i); - //SUPPORT COMMANDTYPE.BOTH return mod$(CommandType.Slash).pipe( concatMap(m => { return of(m.onEvent?.map(e => e.execute([ctx, ['slash', i.options]], controller)) ?? []).pipe( diff --git a/src/handler/events/messageEvent.ts b/src/handler/events/messageEvent.ts index 24753fb..5ef2061 100644 --- a/src/handler/events/messageEvent.ts +++ b/src/handler/events/messageEvent.ts @@ -30,7 +30,6 @@ export const onMessageCreate = (wrapper: Wrapper) => { const ensureModuleType$ = processMessage$.pipe( concatMap(payload => of(payload.mod).pipe( - //SUPPORT COMMAND TYPE.BOTH filterCorrectModule(CommandType.Text), map(mod => ({ ...payload, mod })), ),