Debug
parent
3974d1d0ca
commit
7c4b475cbc
1
index.js
1
index.js
|
@ -222,6 +222,7 @@ function getModmailChannel(user, allowCreate = true) {
|
||||||
// Try to find a matching channel
|
// Try to find a matching channel
|
||||||
let candidate = modMailGuild.channels.find(c => {
|
let candidate = modMailGuild.channels.find(c => {
|
||||||
const info = getModmailChannelInfo(c);
|
const info = getModmailChannelInfo(c);
|
||||||
|
console.log(`testing ${info.userId} === ${user.id}`);
|
||||||
return info && info.userId === user.id;
|
return info && info.userId === user.id;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue