mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
Fix error when proxying duplicate pings
This commit is contained in:
parent
c02a7572b3
commit
3471f7f28c
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue