fix += formatting
This commit is contained in:
parent
687a26105d
commit
6237ac9e8c
1 changed files with 2 additions and 2 deletions
|
@ -624,7 +624,7 @@ class Mod:
|
||||||
async for msg in channel.history(limit=limit):
|
async for msg in channel.history(limit=limit):
|
||||||
for react in msg.reactions:
|
for react in msg.reactions:
|
||||||
if await react.users().find(lambda u: u == user):
|
if await react.users().find(lambda u: u == user):
|
||||||
count+= 1
|
count += 1
|
||||||
async for u in react.users():
|
async for u in react.users():
|
||||||
await msg.remove_reaction(react, u)
|
await msg.remove_reaction(react, u)
|
||||||
msg = f"✏️ **Cleared reacts**: {ctx.author.mention} cleared "\
|
msg = f"✏️ **Cleared reacts**: {ctx.author.mention} cleared "\
|
||||||
|
@ -646,7 +646,7 @@ class Mod:
|
||||||
count = 0
|
count = 0
|
||||||
async for msg in channel.history(limit=limit):
|
async for msg in channel.history(limit=limit):
|
||||||
if msg.reactions:
|
if msg.reactions:
|
||||||
count+= 1
|
count += 1
|
||||||
await msg.clear_reactions()
|
await msg.clear_reactions()
|
||||||
msg = f"✏️ **Cleared reacts**: {ctx.author.mention} cleared all "\
|
msg = f"✏️ **Cleared reacts**: {ctx.author.mention} cleared all "\
|
||||||
f"reacts from the last {limit} messages in {channel.mention}."
|
f"reacts from the last {limit} messages in {channel.mention}."
|
||||||
|
|
Loading…
Reference in a new issue