newversion upgrade
This commit is contained in:
parent
8c7e052647
commit
53da388da7
@ -35,8 +35,7 @@ class ReactRestrictCombo:
|
|||||||
|
|
||||||
class ReactRestrict:
|
class ReactRestrict:
|
||||||
"""
|
"""
|
||||||
This cog enables role assignment/removal based on reactions to specific
|
Prevent specific roles from reacting to specific messages
|
||||||
messages.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, red: Red):
|
def __init__(self, red: Red):
|
||||||
@ -269,7 +268,7 @@ class ReactRestrict:
|
|||||||
|
|
||||||
await ctx.send("Reaction removed.")
|
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):
|
message_id: int, channel_id: int, user_id: int):
|
||||||
"""
|
"""
|
||||||
Event handler for long term reaction watching.
|
Event handler for long term reaction watching.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user