mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 11:28:15 +00:00
Fix merge conflicts
This commit is contained in:
+29
-23
@@ -1,43 +1,49 @@
|
||||
import { endpoints } from "../constants/discord.ts";
|
||||
import { cacheHandlers } from "../controllers/cache.ts";
|
||||
import { identifyPayload } from "../module/client.ts";
|
||||
import { RequestManager } from "../module/requestManager.ts";
|
||||
import { requestAllMembers } from "../module/shardingManager.ts";
|
||||
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 type { ImageFormats, ImageSize } from "../types/cdn.ts";
|
||||
import { Errors } from "../types/errors.ts";
|
||||
import type {
|
||||
BannedUser,
|
||||
BanOptions,
|
||||
|
||||
ChannelCreateOptions,
|
||||
CreateEmojisOptions,
|
||||
PositionSwap,
|
||||
EditEmojisOptions,
|
||||
|
||||
CreateRoleOptions,
|
||||
|
||||
CreateServerOptions,
|
||||
EditEmojisOptions,
|
||||
|
||||
EditIntegrationOptions,
|
||||
FetchMembersOptions,
|
||||
GetAuditLogsOptions,
|
||||
EditIntegrationOptions,
|
||||
BanOptions,
|
||||
|
||||
GuildEditOptions,
|
||||
PositionSwap,
|
||||
|
||||
PruneOptions,
|
||||
PrunePayload,
|
||||
ChannelCreateOptions,
|
||||
BannedUser,
|
||||
UserPayload,
|
||||
CreateServerOptions,
|
||||
} from "../types/guild.ts";
|
||||
import type { RoleData } from "../types/role.ts";
|
||||
import type { MemberCreatePayload } from "../types/member.ts";
|
||||
import type { Member } from "../structures/member.ts";
|
||||
|
||||
import { Collection } from "../utils/collection.ts";
|
||||
import { urlToBase64 } from "../utils/utils.ts";
|
||||
UserPayload,
|
||||
} from "../types/guild.ts";
|
||||
import type { MemberCreatePayload } from "../types/member.ts";
|
||||
import { Intents } from "../types/options.ts";
|
||||
import { identifyPayload } from "../module/client.ts";
|
||||
import { requestAllMembers } from "../module/shardingManager.ts";
|
||||
import { botHasPermission, calculateBits } from "../utils/permissions.ts";
|
||||
import { RequestManager } from "../module/requestManager.ts";
|
||||
import { endpoints } from "../constants/discord.ts";
|
||||
import { Errors } from "../types/errors.ts";
|
||||
import { Permissions } from "../types/permission.ts";
|
||||
import { structures } from "../structures/mod.ts";
|
||||
import { cacheHandlers } from "../controllers/cache.ts";
|
||||
import type { RoleData } from "../types/role.ts";
|
||||
import { formatImageURL } from "../utils/cdn.ts";
|
||||
import { Collection } from "../utils/collection.ts";
|
||||
import { botHasPermission, calculateBits } from "../utils/permissions.ts";
|
||||
import { urlToBase64 } from "../utils/utils.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 function createServer(options: CreateServerOptions) {
|
||||
|
||||
Reference in New Issue
Block a user