BaumSplitter41 1 주 전
부모
커밋
9fbde4f517
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      VPD_BOT/cogs/reaction_roles.py

+ 2 - 2
VPD_BOT/cogs/reaction_roles.py

@@ -116,8 +116,8 @@ class reactionroles(commands.Cog):
     @commands.Cog.listener()
     async def on_raw_reaction_add(self, payload):
         #Get variables
-        user = self.bot._get_user(payload.user_id)
-        guild = self.bot._get_guild(payload.guild_id)
+        user = self.bot.get_user(payload.user_id)
+        guild = self.bot.get_guild(payload.guild_id)
         if user.bot:
             return
         message_id = self._get_message_id()