Add debug
parent
8e1c59bac4
commit
c7b7b784d9
1
index.js
1
index.js
|
@ -217,6 +217,7 @@ function getModmailChannel(user, allowCreate = true) {
|
||||||
// If the cache value was invalid, remove it
|
// If the cache value was invalid, remove it
|
||||||
delete modMailChannels[user.id];
|
delete modMailChannels[user.id];
|
||||||
console.log(`[NOTE] INVALID CACHE VALUE FOR ${user.id}`);
|
console.log(`[NOTE] INVALID CACHE VALUE FOR ${user.id}`);
|
||||||
|
console.log(`[DEBUG] Channels:\n` + modMailGuild.channels.map(channel => ` ${channel.id} / ${channel.name}`).join('\n'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue