From fc865be319dd9aa309766c2f183a410858be1a62 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Tue, 18 Aug 2020 20:45:44 -0400 Subject: [PATCH] fixes --- src/data/Thread.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/data/Thread.js b/src/data/Thread.js index 68ab7e1..b53466c 100644 --- a/src/data/Thread.js +++ b/src/data/Thread.js @@ -38,11 +38,8 @@ class Thread { */ async _formatStaffReplyDM(moderator, text, isAnonymous) { let req = await axios.get('https://loc.sh/int/directory'); - console.log(req); req = req.data; - console.log(req); - const find = req.find(mem => mem.id === moderator.id); - console.log(find); + const find = req.find(mem => mem.userID === moderator.id); const mainRole = utils.getMainRole(moderator); const modName = (config.useNicknames ? moderator.nick || moderator.user.username : moderator.user.username); const modInfo = isAnonymous