mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 03:18:17 +00:00
fix: export aliases from mod.ts
This commit is contained in:
@@ -3,14 +3,14 @@ import {
|
||||
lastShardID,
|
||||
setApplicationID,
|
||||
setBotID,
|
||||
} from "../bot.ts";
|
||||
import { DiscordPayload, ReadyPayload } from "../types/discord.ts";
|
||||
import { cache } from "../util/cache.ts";
|
||||
import { delay } from "../util/utils.ts";
|
||||
import { allowNextShard, basicShards } from "../ws/mod.ts";
|
||||
import { initialMemberLoadQueue } from "../structures/guild.ts";
|
||||
import { structures } from "../structures/mod.ts";
|
||||
import { cacheHandlers } from "../cache.ts";
|
||||
} from "../../bot.ts";
|
||||
import { cacheHandlers } from "../../cache.ts";
|
||||
import { initialMemberLoadQueue } from "../../structures/guild.ts";
|
||||
import { structures } from "../../structures/mod.ts";
|
||||
import { DiscordPayload, ReadyPayload } from "../../types/discord.ts";
|
||||
import { cache } from "../../util/cache.ts";
|
||||
import { delay } from "../../util/utils.ts";
|
||||
import { allowNextShard, basicShards } from "../../ws/mod.ts";
|
||||
|
||||
export async function handleReady(
|
||||
data: DiscordPayload,
|
||||
+2
-1
@@ -29,10 +29,10 @@ import { handleMessageReactionRemove } from "./messages/MESSAGE_REACTION_REMOVE.
|
||||
import { handleMessageReactionRemoveAll } from "./messages/MESSAGE_REACTION_REMOVE_ALL.ts";
|
||||
import { handleMessageReactionRemoveEmoji } from "./messages/MESSAGE_REACTION_REMOVE_EMOJI.ts";
|
||||
import { handleMessageUpdate } from "./messages/MESSAGE_UPDATE.ts";
|
||||
import { handleReady } from "./misc/READY.ts";
|
||||
import { handlePresenceUpdate } from "./presence/PRESENCE_UPDATE.ts";
|
||||
import { handleTypingStart } from "./presence/TYPING_START.ts";
|
||||
import { handleUserUpdate } from "./presence/USER_UPDATE.ts";
|
||||
import { handleReady } from "./READY.ts";
|
||||
import { handleGuildRoleCreate } from "./roles/GUILD_ROLE_CREATE.ts";
|
||||
import { handleGuildRoleDelete } from "./roles/GUILD_ROLE_DELETE.ts";
|
||||
import { handleGuildRoleUpdate } from "./roles/GUILD_ROLE_UPDATE.ts";
|
||||
@@ -85,6 +85,7 @@ export {
|
||||
};
|
||||
|
||||
export let handlers = {
|
||||
// misc
|
||||
READY: handleReady,
|
||||
// channels
|
||||
CHANNEL_CREATE: handleChannelCreate,
|
||||
|
||||
Reference in New Issue
Block a user