Skip to content

Commit 927ac8d

Browse files
committed
Merge branch 'RealCyGuy-remove-duplicate-notifications'
2 parents c5eb0dd + 8321e73 commit 927ac8d

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
@@ -1028,7 +1028,7 @@ def get_notifications(self) -> str:
10281028
self.bot.config["notification_squad"].pop(key)
10291029
self.bot.loop.create_task(self.bot.config.update())
10301030

1031-
return " ".join(mentions)
1031+
return " ".join(set(mentions))
10321032

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

0 commit comments

Comments
 (0)