From 5f3cea845d56ae49ab224df044eb13867b1afae4 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Tue, 6 Apr 2021 04:06:07 +0200 Subject: :sparkles: test client --- src/util/Member.ts | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/util/Member.ts') diff --git a/src/util/Member.ts b/src/util/Member.ts index 319eab60..2b268597 100644 --- a/src/util/Member.ts +++ b/src/util/Member.ts @@ -29,8 +29,6 @@ export async function addMember(user_id: bigint, guild_id: bigint, cache?: { gui const user = await getPublicUser(user_id, { guilds: true }); const guildSize = user.guilds.length; - // @ts-ignore - user.guilds = undefined; const { maxGuilds } = Config.get().limits.user; if (guildSize >= maxGuilds) { -- cgit 1.5.1