From 53da388da7b3d70c359bbcee73dad12ed4376f56 Mon Sep 17 00:00:00 2001 From: bobloy Date: Sun, 15 Apr 2018 16:56:29 -0400 Subject: [PATCH] newversion upgrade --- reactrestrict/reactrestrict.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/reactrestrict/reactrestrict.py b/reactrestrict/reactrestrict.py index 13651f7..0141ab3 100644 --- a/reactrestrict/reactrestrict.py +++ b/reactrestrict/reactrestrict.py @@ -35,8 +35,7 @@ class ReactRestrictCombo: class ReactRestrict: """ - This cog enables role assignment/removal based on reactions to specific - messages. + Prevent specific roles from reacting to specific messages """ def __init__(self, red: Red): @@ -269,7 +268,7 @@ class ReactRestrict: await ctx.send("Reaction removed.") - async def on_raw_reaction_add(self, emoji: discord.PartialReactionEmoji, + async def on_raw_reaction_add(self, emoji: discord.PartialEmoji, message_id: int, channel_id: int, user_id: int): """ Event handler for long term reaction watching.