fix: remove util/cdn export

This commit is contained in:
ayntee
2020-12-24 17:59:15 +04:00
parent 3d3e2f3363
commit 8e3fab7411
24 changed files with 50 additions and 51 deletions
+9 -10
View File
@@ -1,13 +1,5 @@
import { cacheHandlers } from "../controllers/cache.ts";
import { identifyPayload } from "../../bot.ts";
import { RequestManager } from "../../rest/mod.ts";
import { requestAllMembers } from "../../ws/shard_manager.ts";
import {
Guild,
Member,
structures,
Template,
} from "../structures/structures.ts";
import {
AuditLogs,
BannedUser,
@@ -40,11 +32,18 @@ import {
UpdateGuildPayload,
UserPayload,
} from "../../types/types.ts";
import { formatImageURL } from "../../util/cdn.ts";
import { Collection } from "../../util/collection.ts";
import { endpoints } from "../../util/constants.ts";
import { botHasPermission, calculateBits } from "../../util/permissions.ts";
import { urlToBase64 } from "../../util/utils.ts";
import { formatImageURL, urlToBase64 } from "../../util/utils.ts";
import { requestAllMembers } from "../../ws/shard_manager.ts";
import { cacheHandlers } from "../controllers/cache.ts";
import {
Guild,
Member,
structures,
Template,
} from "../structures/structures.ts";
/** Create a new guild. Returns a guild object on success. Fires a Guild Create Gateway event. This endpoint can be used only by bots in less than 10 guilds. */
export async function createServer(options: CreateServerOptions) {