✨ test client

This commit is contained in:
Flam3rboy committed 2021-04-06 04:06:07 +02:00
1 parent 4f67c2c86e
commit 5f3cea845d
4 files changed
+116 -3

No files matched your search

-2
View File
@@ -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) {