Files
tbd-station-14/Content.Server/Discord/WebhookMentions.cs
LankLTE 94628d6ab1 Relay custom votes to a webhook (#18561)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
Co-authored-by: DrSmugleaf <drsmugleaf@gmail.com>
2023-12-14 20:03:32 -08:00

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