From 94cfb6a38ce477461df1fc2f92a46303e61c9a8e Mon Sep 17 00:00:00 2001 From: Matthew R Date: Tue, 18 Aug 2020 20:44:13 -0400 Subject: [PATCH] fixes --- src/data/Thread.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/data/Thread.js b/src/data/Thread.js index 8c77c59..68ab7e1 100644 --- a/src/data/Thread.js +++ b/src/data/Thread.js @@ -38,8 +38,11 @@ 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 mainRole = utils.getMainRole(moderator); const modName = (config.useNicknames ? moderator.nick || moderator.user.username : moderator.user.username); const modInfo = isAnonymous