فهرست منبع

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){