Skip to content

Commit 7e5783b

Browse files
committed
Rename the right_reaction variable
1 parent 077bba0 commit 7e5783b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mandatory_close_duration/mandatory_close_duration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ async def allow_duration_bypass(ctx: commands.Context, converted_arg: time.UserF
3333
await message.add_reaction(unicode_reaction)
3434

3535
def checkmark_press_check(reaction: discord.Reaction, user: discord.User) -> bool:
36-
right_reaction = (
36+
is_right_reaction = (
3737
user != ctx.bot.user
3838
and reaction.message.id == message.id
3939
and str(reaction.emoji) == unicode_reaction
4040
)
4141

42-
return right_reaction
42+
return is_right_reaction
4343

4444
try:
4545
await ctx.bot.wait_for('reaction_add', check=checkmark_press_check, timeout=5 * 60)

0 commit comments

Comments
 (0)