fixes
parent
d421dda0ca
commit
94cfb6a38c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue