|
|
@ -45,6 +45,8 @@ class Extension: |
|
|
|
|
|
|
|
@core.listen() |
|
|
|
async def on_reaction_add(reaction: discord.Reaction, user: discord.User): |
|
|
|
print(reaction.emoji, reaction.message.webhook_id, reaction.me, reaction.message.guild.get_member(user.id).get_role(self.track_role_id)) |
|
|
|
|
|
|
|
if reaction.message.webhook_id != self.track_webhook_id: |
|
|
|
return |
|
|
|
|
|
|
@ -54,8 +56,6 @@ class Extension: |
|
|
|
if not reaction.message.guild.get_member(user.id).get_role(self.track_role_id): |
|
|
|
return |
|
|
|
|
|
|
|
print(reaction.emoji) |
|
|
|
|
|
|
|
if str(reaction.emoji) in self.webhook_reaction_translate.keys(): |
|
|
|
executor, kwargs = self.webhook_reaction_translate[str(reaction.emoji)] |
|
|
|
if "requester" in kwargs: |
|
|
|