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 { DiscordPayload } from "../types/discord.ts";
|
||||||
import type {
|
import type {
|
||||||
MessageCreateOptions,
|
MessageCreateOptions,
|
||||||
|
|
||||||
MessageDeleteBulkPayload,
|
MessageDeleteBulkPayload,
|
||||||
MessageDeletePayload,
|
MessageDeletePayload,
|
||||||
} from "../types/message.ts";
|
} 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 type { Member } from "../structures/member.ts";
|
||||||
import { structures } from "../structures/mod.ts";
|
import { structures } from "../structures/mod.ts";
|
||||||
import type { ImageFormats, ImageSize } from "../types/cdn.ts";
|
import type { ImageFormats, ImageSize } from "../types/cdn.ts";
|
||||||
import {
|
import { ChannelCreatePayload, ChannelTypes } from "../types/channel.ts";
|
||||||
ChannelCreatePayload,
|
|
||||||
ChannelTypes,
|
|
||||||
} from "../types/channel.ts";
|
|
||||||
import { Errors } from "../types/errors.ts";
|
import { Errors } from "../types/errors.ts";
|
||||||
import type {
|
import type {
|
||||||
BannedUser,
|
BannedUser,
|
||||||
BanOptions,
|
BanOptions,
|
||||||
|
|
||||||
ChannelCreateOptions,
|
ChannelCreateOptions,
|
||||||
CreateEmojisOptions,
|
CreateEmojisOptions,
|
||||||
|
|
||||||
CreateRoleOptions,
|
CreateRoleOptions,
|
||||||
|
|
||||||
CreateServerOptions,
|
CreateServerOptions,
|
||||||
EditEmojisOptions,
|
EditEmojisOptions,
|
||||||
|
|
||||||
EditIntegrationOptions,
|
EditIntegrationOptions,
|
||||||
FetchMembersOptions,
|
FetchMembersOptions,
|
||||||
GetAuditLogsOptions,
|
GetAuditLogsOptions,
|
||||||
|
|
||||||
GuildEditOptions,
|
GuildEditOptions,
|
||||||
PositionSwap,
|
PositionSwap,
|
||||||
|
|
||||||
PruneOptions,
|
PruneOptions,
|
||||||
PrunePayload,
|
PrunePayload,
|
||||||
|
|
||||||
UserPayload,
|
UserPayload,
|
||||||
} from "../types/guild.ts";
|
} from "../types/guild.ts";
|
||||||
import type { MemberCreatePayload } from "../types/member.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 { FetchMembersOptions } from "../types/guild.ts";
|
||||||
import type { BotStatusRequest } from "../utils/utils.ts";
|
import type { BotStatusRequest } from "../utils/utils.ts";
|
||||||
import type { IdentifyPayload } from "./client.ts";
|
import type { IdentifyPayload } from "./client.ts";
|
||||||
import {
|
import { botGatewayData, eventHandlers } from "./client.ts";
|
||||||
botGatewayData,
|
|
||||||
eventHandlers,
|
|
||||||
} from "./client.ts";
|
|
||||||
import { handleDiscordPayload } from "./shardingManager.ts";
|
import { handleDiscordPayload } from "./shardingManager.ts";
|
||||||
|
|
||||||
const basicShards = new Map<number, BasicShard>();
|
const basicShards = new Map<number, BasicShard>();
|
||||||
|
|||||||
@@ -15,12 +15,7 @@ import {
|
|||||||
requestGuildMembers,
|
requestGuildMembers,
|
||||||
} from "./basicShard.ts";
|
} from "./basicShard.ts";
|
||||||
import type { IdentifyPayload } from "./client.ts";
|
import type { IdentifyPayload } from "./client.ts";
|
||||||
import {
|
import { botGatewayData, eventHandlers, identifyPayload } from "./client.ts";
|
||||||
botGatewayData,
|
|
||||||
eventHandlers,
|
|
||||||
|
|
||||||
identifyPayload,
|
|
||||||
} from "./client.ts";
|
|
||||||
|
|
||||||
let shardCounter = 0;
|
let shardCounter = 0;
|
||||||
let basicSharding = false;
|
let basicSharding = false;
|
||||||
|
|||||||
@@ -6,10 +6,8 @@ import type { Role } from "../structures/role.ts";
|
|||||||
import type {
|
import type {
|
||||||
DiscordPayload,
|
DiscordPayload,
|
||||||
Emoji,
|
Emoji,
|
||||||
|
|
||||||
PresenceUpdatePayload,
|
PresenceUpdatePayload,
|
||||||
Properties,
|
Properties,
|
||||||
|
|
||||||
TypingStartPayload,
|
TypingStartPayload,
|
||||||
VoiceStateUpdatePayload,
|
VoiceStateUpdatePayload,
|
||||||
} from "./discord.ts";
|
} from "./discord.ts";
|
||||||
@@ -17,10 +15,8 @@ import type { UserPayload } from "./guild.ts";
|
|||||||
import type {
|
import type {
|
||||||
Attachment,
|
Attachment,
|
||||||
BaseMessageReactionPayload,
|
BaseMessageReactionPayload,
|
||||||
|
|
||||||
Embed,
|
Embed,
|
||||||
MessageReactionRemoveEmojiPayload,
|
MessageReactionRemoveEmojiPayload,
|
||||||
|
|
||||||
MessageReactionUncachedPayload,
|
MessageReactionUncachedPayload,
|
||||||
PartialMessage,
|
PartialMessage,
|
||||||
ReactionPayload,
|
ReactionPayload,
|
||||||
|
|||||||
Reference in New Issue
Block a user