aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
authorGravatar JackyFWong <[email protected]>2019-04-26 18:17:22 -0400
committerGravatar JackyFWong <[email protected]>2019-04-26 18:17:22 -0400
commit2bb744fb58723355ba46e06a74706bca059631fd (patch)
tree4ddeebfc81124fffb331e615a97dc25318170ad9 /bot
parentfinalized riddles and fixed various easter_riddle bugs (diff)
changes to meet flake8
Diffstat (limited to 'bot')
-rw-r--r--bot/seasons/easter/easter_riddle.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/bot/seasons/easter/easter_riddle.py b/bot/seasons/easter/easter_riddle.py
index 6b2ab5ca..ced09dae 100644
--- a/bot/seasons/easter/easter_riddle.py
+++ b/bot/seasons/easter/easter_riddle.py
@@ -55,7 +55,7 @@ class EasterRiddle(commands.Cog):
title=f"Here's a hint: {hints[1]}!",
colour=Colours.pink
)
-
+
await ctx.send(embed=h_embed)
await asyncio.sleep(TIMELIMIT)
@@ -77,12 +77,10 @@ class EasterRiddle(commands.Cog):
async def on_message(self, message):
if self.bot.user != message.author:
if message.content.lower() == self.correct.lower():
- self.winner = self.winner + message.author.mention + " "
-
+ self.winner = self.winner + message.author.mention + " "
def setup(bot):
"""Cog load."""
-
bot.add_cog(EasterRiddle(bot))
log.info("Easter Riddle bot loaded")