types: remove entire types (#684)

This commit is contained in:
ITOH
2021-03-23 15:14:26 +00:00
committed by GitHub
parent 10cb9d7eb9
commit c91c9d0870
195 changed files with 0 additions and 7043 deletions
-1
View File
@@ -1,5 +1,4 @@
import { Member } from "../../structures/mod.ts";
import { ImageFormats, ImageSize } from "../../types/mod.ts";
import { rawAvatarURL } from "./raw_avatar_url.ts";
/** The users custom avatar or the default avatar */
-1
View File
@@ -1,5 +1,4 @@
import { RequestManager } from "../../rest/request_manager.ts";
import { BanOptions } from "../../types/mod.ts";
import { endpoints } from "../../util/constants.ts";
import { requireBotGuildPermissions } from "../../util/permissions.ts";
-1
View File
@@ -1,5 +1,4 @@
import { RequestManager } from "../../rest/request_manager.ts";
import { Errors } from "../../types/mod.ts";
import { endpoints } from "../../util/constants.ts";
import { urlToBase64 } from "../../util/utils.ts";
-6
View File
@@ -1,12 +1,6 @@
import { cacheHandlers } from "../../cache.ts";
import { RequestManager } from "../../rest/request_manager.ts";
import { structures } from "../../structures/mod.ts";
import {
EditMemberOptions,
Errors,
MemberCreatePayload,
Permission,
} from "../../types/mod.ts";
import { endpoints } from "../../util/constants.ts";
import {
requireBotChannelPermissions,
-1
View File
@@ -1,6 +1,5 @@
import { identifyPayload } from "../../bot.ts";
import { Member } from "../../structures/mod.ts";
import { Errors, FetchMembersOptions, Intents } from "../../types/mod.ts";
import { Collection } from "../../util/collection.ts";
import { requestAllMembers } from "../../ws/shard_manager.ts";
-1
View File
@@ -1,7 +1,6 @@
import { cacheHandlers } from "../../cache.ts";
import { RequestManager } from "../../rest/request_manager.ts";
import { structures } from "../../structures/mod.ts";
import { MemberCreatePayload } from "../../types/mod.ts";
import { endpoints } from "../../util/constants.ts";
/** Returns a guild member object for the specified user.
-6
View File
@@ -2,12 +2,6 @@ import { identifyPayload } from "../../bot.ts";
import { cacheHandlers } from "../../cache.ts";
import { RequestManager } from "../../rest/request_manager.ts";
import { Member, structures } from "../../structures/mod.ts";
import {
Errors,
GetMemberOptions,
Intents,
MemberCreatePayload,
} from "../../types/mod.ts";
import { Collection } from "../../util/collection.ts";
import { endpoints } from "../../util/constants.ts";
-1
View File
@@ -1,6 +1,5 @@
import { botID } from "../../bot.ts";
import { RequestManager } from "../../rest/request_manager.ts";
import { Errors } from "../../types/mod.ts";
import { endpoints } from "../../util/constants.ts";
import {
highestRole,
-1
View File
@@ -1,5 +1,4 @@
import { RequestManager } from "../../rest/request_manager.ts";
import { Errors, PruneOptions } from "../../types/mod.ts";
import { endpoints } from "../../util/constants.ts";
import { requireBotGuildPermissions } from "../../util/permissions.ts";
import { camelKeysToSnakeCase } from "../../util/utils.ts";
-1
View File
@@ -1,4 +1,3 @@
import { ImageFormats, ImageSize } from "../../types/mod.ts";
import { endpoints } from "../../util/constants.ts";
import { formatImageURL } from "../../util/utils.ts";
@@ -1,11 +1,6 @@
import { cacheHandlers } from "../../cache.ts";
import { RequestManager } from "../../rest/request_manager.ts";
import { structures } from "../../structures/mod.ts";
import {
ChannelCreatePayload,
DMChannelCreatePayload,
MessageContent,
} from "../../types/mod.ts";
import { endpoints } from "../../util/constants.ts";
import { sendMessage } from "../messages/send_message.ts";