From afc639ee66568d8028563777b36a47445e19c7c0 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Mon, 17 Aug 2020 21:15:28 +0100 Subject: [PATCH] Didn't account for modmail that was 50 characters long exactly --- cogs/guild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/guild.py b/cogs/guild.py index 8999380f..625f3ef1 100644 --- a/cogs/guild.py +++ b/cogs/guild.py @@ -614,7 +614,7 @@ class Guild(Cog): msg = await self.bot.wait_for('message', check=check) # Making sure that the message is below 50 characters and the message was sent in the channel - while len(msg.content) < 50 and msg.channel == user_channel: + while len(msg.content) <= 50 and msg.channel == user_channel: await user_channel.send(embed=error_handling(self, member)) # Wait for the message from the author