Some build process stuff

This commit is contained in:
2024-12-18 13:32:15 -06:00
parent e85083035e
commit 5f038026d3
5 changed files with 11 additions and 7 deletions
-1
View File
@@ -8,7 +8,6 @@ import { Context } from '../../types/context';
import { type DiscordMessage, Message } from '../../types/message';
import { DiscordUser, User } from '../../types/user';
import { Guild } from '../../types/guild';
import { Channel } from '../../types/channel';
import type { Emitter } from '../bus';
export class Gateway {
+1
View File
@@ -66,6 +66,7 @@ export class Processor {
await Promise.resolve(handler[Trait.execute](context!, resolvedArgs));
} else {
// TODO: Fix ts error
// @ts-ignore - Haven't figured out how to type narrow this yet
await Promise.resolve(handler(context, argsOrPayload));
}
}