fmt fixes

This commit is contained in:
Skillz
2020-10-03 12:43:27 -04:00
parent 1143e0e94c
commit 954f8304c2
5 changed files with 3 additions and 26 deletions
-1
View File
@@ -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
View File
@@ -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";
+1 -4
View File
@@ -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>();
+1 -6
View File
@@ -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;
-4
View File
@@ -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,