aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts
diff options
context:
space:
mode:
authorGravatar Hedy Li <[email protected]>2020-10-12 06:38:18 +0000
committerGravatar Hedy Li <[email protected]>2020-10-12 06:38:18 +0000
commit78fcf48aebdfb2c53f99cb0c77759bd57d23fa40 (patch)
tree07ef6d7cc2fad480ffe2fc3e649e690e2db3fffe /bot/exts
parentPR #492: Fix & improve snake video command (diff)
remove duplicates in winner list .riddle
Diffstat (limited to 'bot/exts')
-rw-r--r--bot/exts/easter/easter_riddle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/easter/easter_riddle.py b/bot/exts/easter/easter_riddle.py
index 8977534f..513215d1 100644
--- a/bot/exts/easter/easter_riddle.py
+++ b/bot/exts/easter/easter_riddle.py
@@ -67,7 +67,7 @@ class EasterRiddle(commands.Cog):
await asyncio.sleep(TIMELIMIT)
if self.winners:
- win_list = " ".join(self.winners)
+ win_list = " ".join(set(self.winners)) # remove duplicated users if any
content = f"Well done {win_list} for getting it right!"
else:
content = "Nobody got it right..."