mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2024-12-23 13:05:34 +00:00
fix += formatting
This commit is contained in:
parent
687a26105d
commit
6237ac9e8c
|
@ -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