From 4065f63e70ebea6c63ed359980a822dad7cfc187 Mon Sep 17 00:00:00 2001 From: phxntxm Date: Sat, 2 Dec 2017 16:19:54 -0600 Subject: [PATCH] Increase limit to 30 characters --- cogs/hangman.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/hangman.py b/cogs/hangman.py index 75a6a5c..73117e4 100644 --- a/cogs/hangman.py +++ b/cogs/hangman.py @@ -146,7 +146,7 @@ class Hangman: try: msg = await ctx.message.author.send( "Please respond with a phrase you would like to use for your hangman game in **{}**\n\nPlease keep " - "phrases less than 20 characters".format( + "phrases less than 31 characters".format( ctx.message.guild.name)) except discord.Forbidden: await ctx.send( @@ -158,7 +158,7 @@ class Hangman: ctx.message.author.display_name)) def check(m): - return m.channel == msg.channel and len(m.content) < 20 + return m.channel == msg.channel and len(m.content) <= 30 try: msg = await self.bot.wait_for('message', check=check, timeout=60)