Skip to content

Commit e1349d5

Browse files
authored
added role check to reaction role command (#2342)
1 parent 3aeeba0 commit e1349d5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

wall_e/extensions/reaction_role.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,7 @@ async def edit(self, ctx: commands.Context, message_id):
534534
await message.add_reaction(emoji)
535535

536536
@commands.command(aliases=['rr'])
537+
@commands.has_any_role("Minions", "Moderator")
537538
async def reactionrole(self, ctx, *subcommands):
538539
if not subcommands:
539540
self.logger.info("[ReactionRole reactionrole()] No subcommand")

0 commit comments

Comments
 (0)