diff options
author | 2020-10-12 06:38:18 +0000 | |
---|---|---|
committer | 2020-10-12 06:38:18 +0000 | |
commit | 78fcf48aebdfb2c53f99cb0c77759bd57d23fa40 (patch) | |
tree | 07ef6d7cc2fad480ffe2fc3e649e690e2db3fffe | |
parent | PR #492: Fix & improve snake video command (diff) |
remove duplicates in winner list .riddle
-rw-r--r-- | bot/exts/easter/easter_riddle.py | 2 |
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..." |