mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 11:28:15 +00:00
fmt fixes
This commit is contained in:
@@ -3,7 +3,6 @@ import { structures } from "../structures/mod.ts";
|
||||
import type { DiscordPayload } from "../types/discord.ts";
|
||||
import type {
|
||||
MessageCreateOptions,
|
||||
|
||||
MessageDeleteBulkPayload,
|
||||
MessageDeletePayload,
|
||||
} from "../types/message.ts";
|
||||
|
||||
+1
-11
@@ -7,33 +7,23 @@ import type { Guild } from "../structures/guild.ts";
|
||||
import type { Member } from "../structures/member.ts";
|
||||
import { structures } from "../structures/mod.ts";
|
||||
import type { ImageFormats, ImageSize } from "../types/cdn.ts";
|
||||
import {
|
||||
ChannelCreatePayload,
|
||||
ChannelTypes,
|
||||
} from "../types/channel.ts";
|
||||
import { ChannelCreatePayload, ChannelTypes } from "../types/channel.ts";
|
||||
import { Errors } from "../types/errors.ts";
|
||||
import type {
|
||||
BannedUser,
|
||||
BanOptions,
|
||||
|
||||
ChannelCreateOptions,
|
||||
CreateEmojisOptions,
|
||||
|
||||
CreateRoleOptions,
|
||||
|
||||
CreateServerOptions,
|
||||
EditEmojisOptions,
|
||||
|
||||
EditIntegrationOptions,
|
||||
FetchMembersOptions,
|
||||
GetAuditLogsOptions,
|
||||
|
||||
GuildEditOptions,
|
||||
PositionSwap,
|
||||
|
||||
PruneOptions,
|
||||
PrunePayload,
|
||||
|
||||
UserPayload,
|
||||
} from "../types/guild.ts";
|
||||
import type { MemberCreatePayload } from "../types/member.ts";
|
||||
|
||||
@@ -16,10 +16,7 @@ import { GatewayOpcode } from "../types/discord.ts";
|
||||
import type { FetchMembersOptions } from "../types/guild.ts";
|
||||
import type { BotStatusRequest } from "../utils/utils.ts";
|
||||
import type { IdentifyPayload } from "./client.ts";
|
||||
import {
|
||||
botGatewayData,
|
||||
eventHandlers,
|
||||
} from "./client.ts";
|
||||
import { botGatewayData, eventHandlers } from "./client.ts";
|
||||
import { handleDiscordPayload } from "./shardingManager.ts";
|
||||
|
||||
const basicShards = new Map<number, BasicShard>();
|
||||
|
||||
@@ -15,12 +15,7 @@ import {
|
||||
requestGuildMembers,
|
||||
} from "./basicShard.ts";
|
||||
import type { IdentifyPayload } from "./client.ts";
|
||||
import {
|
||||
botGatewayData,
|
||||
eventHandlers,
|
||||
|
||||
identifyPayload,
|
||||
} from "./client.ts";
|
||||
import { botGatewayData, eventHandlers, identifyPayload } from "./client.ts";
|
||||
|
||||
let shardCounter = 0;
|
||||
let basicSharding = false;
|
||||
|
||||
@@ -6,10 +6,8 @@ import type { Role } from "../structures/role.ts";
|
||||
import type {
|
||||
DiscordPayload,
|
||||
Emoji,
|
||||
|
||||
PresenceUpdatePayload,
|
||||
Properties,
|
||||
|
||||
TypingStartPayload,
|
||||
VoiceStateUpdatePayload,
|
||||
} from "./discord.ts";
|
||||
@@ -17,10 +15,8 @@ import type { UserPayload } from "./guild.ts";
|
||||
import type {
|
||||
Attachment,
|
||||
BaseMessageReactionPayload,
|
||||
|
||||
Embed,
|
||||
MessageReactionRemoveEmojiPayload,
|
||||
|
||||
MessageReactionUncachedPayload,
|
||||
PartialMessage,
|
||||
ReactionPayload,
|
||||
|
||||
Reference in New Issue
Block a user