foxwells.vinboard: fix reaction event

This commit is contained in:
Cynthia Foxwell 2023-01-21 22:30:26 -07:00
parent 3f6fe2b6a9
commit d569d233c8

View file

@ -252,7 +252,7 @@ async function createBoardMessage(msg, count, fetchAttachment = true) {
let vinboard_webhook;
let vin_channel;
let board_channel;
async function processReaction(_msg, user, reaction) {
async function processReaction(_msg, reaction, user) {
if (_msg.guildID != FOXWELLS_GUILD_ID) return;
if (_msg.channel.id != VINBOARD_CHANNEL_ID) return;
if (user.bot) return;