ソースを参照

Fix reactions

ghorsington 5 年 前
コミット
3df46cae8d
1 ファイル変更3 行追加1 行削除
  1. 3 1
      bot/src/commands/react.ts

+ 3 - 1
bot/src/commands/react.ts

@@ -151,7 +151,9 @@ export default {
 
         let knownUser = await repo.findOne({ 
             select: [ "mentionReactionType" ],
-            where: [{userID: msg.id}]
+            where: [{
+                userID: msg.author.id
+            }]
         });
 
         if(knownUser){