mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
BREAKING(helpers): getMember user isnt in server
This commit is contained in:
@@ -9,5 +9,7 @@ export async function getMember(bot: Bot, guildId: bigint, id: bigint) {
|
||||
bot.constants.routes.GUILD_MEMBER(guildId, id),
|
||||
);
|
||||
|
||||
if (!data?.user.id) return;
|
||||
|
||||
return bot.transformers.member(bot, data, guildId, id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user