Files
tbd-station-14/Content.Server/Discord/WebhookMentions.cs

19 lines
318 B
C#

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");
}
}