aboutsummaryrefslogtreecommitdiffstats
path: root/bot/seasons/easter/easter_riddle.py
diff options
context:
space:
mode:
authorGravatar sco1 <[email protected]>2019-07-22 21:09:03 -0400
committerGravatar sco1 <[email protected]>2019-07-22 21:21:05 -0400
commit33fc6c798d6b4e32d028e7a506d056782b15ce12 (patch)
treeca630a87fe8ba9f347ff2b82c40a35be865f0fe9 /bot/seasons/easter/easter_riddle.py
parentApply suggestions from code review (diff)
Additional review comment resolution
* Remove duplicate easter egg facts, fix punctuation * Simplify egg fact JSON load * Simplify egg fact embed generation * Simplify issues command, remove redundant calls, and make some variables more explicit * Truncate issue body if its length is greater than 1024 characters (embed field limitation) Co-Authored-By: Mark <[email protected]>
Diffstat (limited to 'bot/seasons/easter/easter_riddle.py')
-rw-r--r--bot/seasons/easter/easter_riddle.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/bot/seasons/easter/easter_riddle.py b/bot/seasons/easter/easter_riddle.py
index d6e6c207..3c24075c 100644
--- a/bot/seasons/easter/easter_riddle.py
+++ b/bot/seasons/easter/easter_riddle.py
@@ -89,8 +89,6 @@ class EasterRiddle(commands.Cog):
if self.bot.user != message.author:
if message.content.lower() == self.correct.lower():
self.winners.append(message.author.mention)
- else:
- return
def setup(bot):