mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 19:28:17 +00:00
fix lint
This commit is contained in:
@@ -37,15 +37,15 @@ export function fetchMembers(
|
||||
|
||||
// TODO: finish implementing this
|
||||
function requestAllMembers(
|
||||
guildId: string,
|
||||
shardId: number,
|
||||
resolve: (
|
||||
_guildId: string,
|
||||
_shardId: number,
|
||||
_resolve: (
|
||||
value:
|
||||
| Collection<string, DiscordenoMember>
|
||||
| PromiseLike<Collection<string, DiscordenoMember>>,
|
||||
) => void,
|
||||
// deno-lint-ignore no-explicit-any
|
||||
options: any,
|
||||
_options: any,
|
||||
): void {
|
||||
throw new Error("Function not implemented.");
|
||||
}
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
import { cacheHandlers } from "../../cache.ts";
|
||||
import { rest } from "../../rest/rest.ts";
|
||||
import { structures } from "../../structures/mod.ts";
|
||||
import {
|
||||
DiscordGuildMember,
|
||||
DiscordGuildMemberWithUser,
|
||||
} from "../../types/guilds/guild_member.ts";
|
||||
import { DiscordGuildMemberWithUser } from "../../types/guilds/guild_member.ts";
|
||||
import { endpoints } from "../../util/constants.ts";
|
||||
|
||||
/** Returns a guild member object for the specified user.
|
||||
|
||||
@@ -7,7 +7,6 @@ import { DiscordGatewayIntents } from "../../types/gateway/gateway_intents.ts";
|
||||
import {
|
||||
DiscordGuildMember,
|
||||
DiscordGuildMemberWithUser,
|
||||
GuildMember,
|
||||
} from "../../types/guilds/guild_member.ts";
|
||||
import { ListGuildMembers } from "../../types/guilds/list_guild_members.ts";
|
||||
import { Errors } from "../../types/misc/errors.ts";
|
||||
|
||||
@@ -22,15 +22,16 @@ export async function getMembersByQuery(
|
||||
}) as Promise<Collection<string, DiscordenoMember>>;
|
||||
}
|
||||
|
||||
// TODO: implement this
|
||||
function requestAllMembers(
|
||||
id: string,
|
||||
shardId: number,
|
||||
resolve: (
|
||||
_id: string,
|
||||
_shardId: number,
|
||||
_resolve: (
|
||||
value:
|
||||
| Collection<string, DiscordenoMember>
|
||||
| PromiseLike<Collection<string, DiscordenoMember>>,
|
||||
) => void,
|
||||
arg3: { query: string; limit: number },
|
||||
_arg3: { query: string; limit: number },
|
||||
): void {
|
||||
throw new Error("Function not implemented.");
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@ import { botId } from "../../bot.ts";
|
||||
import { rest } from "../../rest/rest.ts";
|
||||
import { DiscordenoMessage } from "../../structures/message.ts";
|
||||
import { structures } from "../../structures/mod.ts";
|
||||
import { CreateMessage } from "../../types/messages/create_message.ts";
|
||||
import { EditMessage } from "../../types/messages/edit_message.ts";
|
||||
import { DiscordMessage } from "../../types/messages/message.ts";
|
||||
import { Errors } from "../../types/misc/errors.ts";
|
||||
|
||||
Reference in New Issue
Block a user