From 6237ac9e8c14c7439da0506fc6aa79a11645b477 Mon Sep 17 00:00:00 2001 From: misson20000 Date: Wed, 26 Dec 2018 02:55:59 -0800 Subject: [PATCH] fix += formatting --- cogs/mod.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/mod.py b/cogs/mod.py index 00de062..13374f7 100644 --- a/cogs/mod.py +++ b/cogs/mod.py @@ -624,7 +624,7 @@ class Mod: async for msg in channel.history(limit=limit): for react in msg.reactions: if await react.users().find(lambda u: u == user): - count+= 1 + count += 1 async for u in react.users(): await msg.remove_reaction(react, u) msg = f"✏️ **Cleared reacts**: {ctx.author.mention} cleared "\ @@ -646,7 +646,7 @@ class Mod: count = 0 async for msg in channel.history(limit=limit): if msg.reactions: - count+= 1 + count += 1 await msg.clear_reactions() msg = f"✏️ **Cleared reacts**: {ctx.author.mention} cleared all "\ f"reacts from the last {limit} messages in {channel.mention}."