Skip to content

Commit 039b4b9

Browse files
committed
turn mentions into set
1 parent 3717df6 commit 039b4b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/thread.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,7 @@ def get_notifications(self) -> str:
10611061
self.bot.config["notification_squad"].pop(key)
10621062
self.bot.loop.create_task(self.bot.config.update())
10631063

1064-
return " ".join(mentions)
1064+
return " ".join(set(mentions))
10651065

10661066
async def set_title(self, title) -> None:
10671067
user_id = match_user_id(self.channel.topic)

0 commit comments

Comments
 (0)