From 76ab2e94659f1eb274c1c49c2c0c8ae5ca26c476 Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Sat, 4 May 2019 10:49:55 +0300 Subject: [PATCH] Tidy up debug logging in resolveMember --- src/utils.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/utils.ts b/src/utils.ts index aa25f5f4..008e13f2 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -600,8 +600,7 @@ export async function resolveMember(bot: Client, guild: Guild, value: string): P // If not, fetch it from the API if (!member) { try { - logger.info(`Fetching unknown member (${user.id} in ${guild.name} (${guild.id})) from the API`); - console.trace(); + logger.debug(`Fetching unknown member (${user.id} in ${guild.name} (${guild.id})) from the API`); member = await bot.getRESTGuildMember(guild.id, user.id); member.id = user.id;