3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-23 01:25:02 +00:00

Fix starboard reactions within threads

This commit is contained in:
Dragory 2021-09-05 23:49:35 +03:00
parent 98b562e9ea
commit 5ddc9367bf

View file

@ -29,9 +29,9 @@ export const StarboardReactionAddEvt = starboardEvt({
if (!member || member!.user.bot) return;
const config = await pluginData.config.getMatchingConfig({
userId,
member,
channelId: msg.channel.id,
categoryId: (msg.channel as TextChannel).parentId,
message: msg,
});
const boardLock = await pluginData.locks.acquire(allStarboardsLock());