3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

Fix starboard reactions within threads

This commit is contained in:
Dragory 2021-09-05 23:49:35 +03:00
parent 82ca94e8c9
commit c33f144944
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

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());