From de65fa0c9750ce09bb56b0d2d7eaa9d33d0e3848 Mon Sep 17 00:00:00 2001 From: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Sun, 29 Nov 2020 12:12:54 -0800 Subject: [PATCH] [Chatchart] small semantic change --- chatchart/chatchart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatchart/chatchart.py b/chatchart/chatchart.py index c65c775..cd172c2 100644 --- a/chatchart/chatchart.py +++ b/chatchart/chatchart.py @@ -108,7 +108,7 @@ class Chatchart(commands.Cog): return await ctx.send(f"I am not allowed to create a chatchart of {channel.mention}.") message_limit = await self.config.limit() - if (message_limit is not 0) and (messages > message_limit): + if (message_limit != 0) and (messages > message_limit): messages = message_limit e = discord.Embed(