Fix error when proxying duplicate pings
This commit is contained in:
parent
c02a7572b3
commit
3471f7f28c
@ -106,8 +106,8 @@ namespace PluralKit.Bot
|
||||
|
||||
return new AllowedMentions
|
||||
{
|
||||
Users = users.ToArray(),
|
||||
Roles = roles.ToArray(),
|
||||
Users = users.Distinct().ToArray(),
|
||||
Roles = roles.Distinct().ToArray(),
|
||||
Parse = everyone ? new[] {AllowedMentions.ParseType.Everyone} : null
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user