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:
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;
|
||||
|
||||
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());
|
||||
|
|
Loading…
Add table
Reference in a new issue