feat: remove comments about prev commit

This commit is contained in:
Jacob Nguyen
2022-05-21 23:54:46 -05:00
parent fc81bfc6d7
commit a2209494bd
2 changed files with 0 additions and 2 deletions

View File

@@ -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(

View File

@@ -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 })),
),