mirror of
https://github.com/jaronpate/unicord.git
synced 2026-10-18 21:47:40 +00:00
Merge branch 'master' of github.com:jaronpate/unicord into ft/lru-cache
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user