From 5c11bf1b87fdd150ba4caf3f6276c01014558b71 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Tue, 23 Feb 2021 22:02:50 +0100 Subject: :bug: [Member] list fix to also return user --- src/util/Member.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util/Member.ts') diff --git a/src/util/Member.ts b/src/util/Member.ts index f3097828..2df34073 100644 --- a/src/util/Member.ts +++ b/src/util/Member.ts @@ -34,7 +34,7 @@ export async function addMember(user_id: bigint, guild_id: bigint, cache?: { gui const { maxGuilds } = Config.get().limits.user; if (guildSize >= maxGuilds) { - throw new HTTPError(` You are at the ${maxGuilds} server limit.`, 403); + throw new HTTPError(`You are at the ${maxGuilds} server limit.`, 403); } const guild = cache?.guild || (await GuildModel.findOne({ id: guild_id }).exec()); -- cgit 1.5.1