Add debug

master
Miikka Virtanen 2016-12-31 21:52:46 +02:00
parent 8e1c59bac4
commit c7b7b784d9
1 changed files with 1 additions and 0 deletions

View File

@ -217,6 +217,7 @@ function getModmailChannel(user, allowCreate = true) {
// If the cache value was invalid, remove it
delete modMailChannels[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'));
}
}