Merge branch 'master' of github.com:jaronpate/unicord into ft/lru-cache

This commit is contained in:
2025-02-15 17:47:27 -06:00
9 changed files with 306 additions and 86 deletions
+7 -7
View File
@@ -1,15 +1,15 @@
import { API } from './api';
import { Gateway } from './connectors/gateway';
import { Processor } from './processor';
import { Expectation, HandlerType, Intent, type ClientConfig } from '../types/common';
import { Message, type DiscordMessage } from '../types/message';
import { exists, isNil } from '../utils/index';
import { type DiscordMessage, Message } from '../types/message';
import { API } from './api';
import { EventBus, type Emitter } from './bus';
import { Channels } from './caches/channels';
import { Guilds } from './caches/guilds';
import { Messages } from './caches/messages';
import { Users } from './caches/users';
import { Channels } from './caches/channels';
import { Gateway } from './connectors/gateway';
import { hydrate, hydrator, type Hydrateable, type Hydrated } from './hydrator';
import { EventBus, type Emitter } from './bus';
import { Processor } from './processor';
export class Client {
readonly token: string;
@@ -141,4 +141,4 @@ export class Client {
off = (event: string, handler: (...args: any[]) => void) => this.bus.off(event, handler);
connect = () => this.gateway.connect();
}
}