mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 22:21:51 +00:00
Fix starboard reactions within threads
This commit is contained in:
parent
82ca94e8c9
commit
c33f144944
1 changed files with 2 additions and 2 deletions
|
@ -29,9 +29,9 @@ export const StarboardReactionAddEvt = starboardEvt({
|
||||||
if (!member || member!.user.bot) return;
|
if (!member || member!.user.bot) return;
|
||||||
|
|
||||||
const config = await pluginData.config.getMatchingConfig({
|
const config = await pluginData.config.getMatchingConfig({
|
||||||
|
userId,
|
||||||
member,
|
member,
|
||||||
channelId: msg.channel.id,
|
message: msg,
|
||||||
categoryId: (msg.channel as TextChannel).parentId,
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const boardLock = await pluginData.locks.acquire(allStarboardsLock());
|
const boardLock = await pluginData.locks.acquire(allStarboardsLock());
|
||||||
|
|
Loading…
Add table
Reference in a new issue