Organize imports (#127)

* Organize imports

* Organize imports
This commit is contained in:
chroventer
2020-10-02 01:35:48 -07:00
committed by GitHub
parent 93c57dd4a8
commit 3fab966208
32 changed files with 186 additions and 203 deletions
+15 -16
View File
@@ -1,25 +1,24 @@
import type { Member } from "../structures/member.ts";
import type { ImageSize, ImageFormats } from "../types/cdn.ts";
import type {
MessageContent,
DMChannelCreatePayload,
} from "../types/channel.ts";
import type { EditMemberOptions } from "../types/member.ts";
import { sendMessage } from "./channel.ts";
import { structures } from "../structures/mod.ts";
import { cacheHandlers } from "../controllers/cache.ts";
import { formatImageURL } from "../utils/cdn.ts";
import { endpoints } from "../constants/discord.ts";
import { cacheHandlers } from "../controllers/cache.ts";
import { botID } from "../module/client.ts";
import { Permissions } from "../types/permission.ts";
import { Errors } from "../types/errors.ts";
import { RequestManager } from "../module/requestManager.ts";
import type { Member } from "../structures/member.ts";
import { structures } from "../structures/mod.ts";
import type { ImageFormats, ImageSize } from "../types/cdn.ts";
import type {
DMChannelCreatePayload,
MessageContent,
} from "../types/channel.ts";
import { Errors } from "../types/errors.ts";
import type { EditMemberOptions } from "../types/member.ts";
import { Permissions } from "../types/permission.ts";
import { formatImageURL } from "../utils/cdn.ts";
import {
highestRole,
higherRolePosition,
botHasPermission,
higherRolePosition,
highestRole,
} from "../utils/permissions.ts";
import { sendMessage } from "./channel.ts";
/** The users custom avatar or the default avatar if you don't have a member object. */
export function rawAvatarURL(