| 123456789101112131415161718 |
- using System.Text.Json.Serialization;
- namespace Content.Server.Discord;
- public struct WebhookMentions
- {
- [JsonPropertyName("parse")]
- public HashSet<string> Parse { get; set; } = new();
- public WebhookMentions()
- {
- }
- public void AllowRoleMentions()
- {
- Parse.Add("roles");
- }
- }
|