From 90930e547f62d907b44c493f78bb2315646be9de Mon Sep 17 00:00:00 2001 From: phxntxm Date: Tue, 27 Jun 2017 19:10:45 -0500 Subject: [PATCH] Correct a couple text issues --- cogs/hangman.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/cogs/hangman.py b/cogs/hangman.py index bdf1ebb..45608b0 100644 --- a/cogs/hangman.py +++ b/cogs/hangman.py @@ -144,12 +144,13 @@ 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( + "Please respond with a phrase you would like to use for your hangman game in **{}**\n\nPlease keep " + "phrases less than 20 characters".format( ctx.message.guild.name)) except discord.Forbidden: await ctx.send( - "I can't message you {}! Please allow DM's so I can message you and ask for the hangman phrase you want to use!".format( - ctx.message.author.display_name)) + "I can't message you {}! Please allow DM's so I can message you and ask for the hangman phrase you " + "want to use!".format(ctx.message.author.display_name)) return await ctx.send("I have DM'd you {}, please respond there with the phrase you would like to setup".format( @@ -162,7 +163,7 @@ class Hangman: msg = await self.bot.wait_for('message', check=check, timeout=60) except asyncio.TimeoutError: await ctx.send( - "You took too long! Please look at your DM's next to as that's where I'm asking for the phrase you want to use") + "You took too long! Please look at your DM's as that's where I'm asking for the phrase you want to use") return forbidden_phrases = ['stop', 'delete', 'remove', 'end', 'create', 'start']