foxwells.vinboard: debug

This commit is contained in:
Cynthia Foxwell 2022-12-03 00:04:42 -07:00
parent 84ddbce959
commit 9e2d9e7f64

View file

@ -314,6 +314,8 @@ async function processReaction(_msg, user, reaction) {
const _boardMessage = const _boardMessage =
board_channel.messages.get(dbEntry.board_id) ?? board_channel.messages.get(dbEntry.board_id) ??
(await board_channel.getMessage(dbEntry.board_id).catch(() => {})); (await board_channel.getMessage(dbEntry.board_id).catch(() => {}));
logger.debug("vinboard", dbEntry.board_id);
logger.debug("vinboard", JSON.stringify(_boardMessage));
if (_boardMessage) { if (_boardMessage) {
logger.verbose( logger.verbose(
"vinboard", "vinboard",