summary refs log tree commit diff
path: root/src/util/Member.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-06 04:06:07 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-06 04:06:07 +0200
commit5f3cea845d56ae49ab224df044eb13867b1afae4 (patch)
treeebf0d58c9b9eb8396f285ed758a98b507164c8e9 /src/util/Member.ts
parent:art: proper error message body parser (diff)
downloadserver-5f3cea845d56ae49ab224df044eb13867b1afae4.tar.xz
:sparkles: test client
Diffstat (limited to 'src/util/Member.ts')
-rw-r--r--src/util/Member.ts2
1 files changed, 0 insertions, 2 deletions
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) {