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

View File

@ -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