mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 11:28:15 +00:00
members
This commit is contained in:
@@ -2,7 +2,7 @@ import { cacheHandlers } from "../../cache.ts";
|
||||
import { rest } from "../../rest/rest.ts";
|
||||
import { DiscordenoMember } from "../../structures/member.ts";
|
||||
import { structures } from "../../structures/mod.ts";
|
||||
import { DiscordGuildMemberWithUser } from "../../types/guilds/guild_member.ts";
|
||||
import { GuildMemberWithUser } from "../../types/guilds/guild_member.ts";
|
||||
import { SearchGuildMembers } from "../../types/members/search_guild_members.ts";
|
||||
import { Errors } from "../../types/misc/errors.ts";
|
||||
import { Collection } from "../../util/collection.ts";
|
||||
@@ -24,7 +24,7 @@ export async function searchMembers(
|
||||
}
|
||||
}
|
||||
|
||||
const result = await rest.runMethod<DiscordGuildMemberWithUser[]>(
|
||||
const result = await rest.runMethod<GuildMemberWithUser[]>(
|
||||
"get",
|
||||
endpoints.GUILD_MEMBERS_SEARCH(guildId),
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user