master
Matthew 2020-08-18 20:44:13 -04:00
parent d421dda0ca
commit 94cfb6a38c
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 3 additions and 0 deletions

View File

@ -38,8 +38,11 @@ class Thread {
*/ */
async _formatStaffReplyDM(moderator, text, isAnonymous) { async _formatStaffReplyDM(moderator, text, isAnonymous) {
let req = await axios.get('https://loc.sh/int/directory'); let req = await axios.get('https://loc.sh/int/directory');
console.log(req);
req = req.data; req = req.data;
console.log(req);
const find = req.find(mem => mem.id === moderator.id); const find = req.find(mem => mem.id === moderator.id);
console.log(find);
const mainRole = utils.getMainRole(moderator); const mainRole = utils.getMainRole(moderator);
const modName = (config.useNicknames ? moderator.nick || moderator.user.username : moderator.user.username); const modName = (config.useNicknames ? moderator.nick || moderator.user.username : moderator.user.username);
const modInfo = isAnonymous const modInfo = isAnonymous