using Robust.Shared.Configuration; namespace Content.Shared.CCVar; public sealed partial class CCVars { /// /// The role that will get mentioned if a new SOS ahelp comes in. /// public static readonly CVarDef DiscordAhelpMention = CVarDef.Create("discord.on_call_ping", string.Empty, CVar.SERVERONLY | CVar.CONFIDENTIAL); /// /// URL of the discord webhook to relay unanswered ahelp messages. /// public static readonly CVarDef DiscordOnCallWebhook = CVarDef.Create("discord.on_call_webhook", string.Empty, CVar.SERVERONLY | CVar.CONFIDENTIAL); /// /// URL of the Discord webhook which will relay all ahelp messages. /// public static readonly CVarDef DiscordAHelpWebhook = CVarDef.Create("discord.ahelp_webhook", string.Empty, CVar.SERVERONLY | CVar.CONFIDENTIAL); /// /// The server icon to use in the Discord ahelp embed footer. /// Valid values are specified at https://discord.com/developers/docs/resources/channel#embed-object-embed-footer-structure. /// public static readonly CVarDef DiscordAHelpFooterIcon = CVarDef.Create("discord.ahelp_footer_icon", string.Empty, CVar.SERVERONLY); /// /// The avatar to use for the webhook. Should be an URL. /// public static readonly CVarDef DiscordAHelpAvatar = CVarDef.Create("discord.ahelp_avatar", string.Empty, CVar.SERVERONLY); /// /// URL of the Discord webhook which will relay all custom votes. If left empty, disables the webhook. /// public static readonly CVarDef DiscordVoteWebhook = CVarDef.Create("discord.vote_webhook", string.Empty, CVar.SERVERONLY); /// /// URL of the Discord webhook which will relay all votekick votes. If left empty, disables the webhook. /// public static readonly CVarDef DiscordVotekickWebhook = CVarDef.Create("discord.votekick_webhook", string.Empty, CVar.SERVERONLY); /// /// URL of the Discord webhook which will relay round restart messages. /// public static readonly CVarDef DiscordRoundUpdateWebhook = CVarDef.Create("discord.round_update_webhook", string.Empty, CVar.SERVERONLY | CVar.CONFIDENTIAL); /// /// Role id for the Discord webhook to ping when the round ends. /// public static readonly CVarDef DiscordRoundEndRoleWebhook = CVarDef.Create("discord.round_end_role", string.Empty, CVar.SERVERONLY); /// /// URL of the Discord webhook which will relay watchlist connection notifications. If left empty, disables the webhook. /// public static readonly CVarDef DiscordWatchlistConnectionWebhook = CVarDef.Create("discord.watchlist_connection_webhook", string.Empty, CVar.SERVERONLY | CVar.CONFIDENTIAL); /// /// How long to buffer watchlist connections for, in seconds. /// All connections within this amount of time from the first one will be batched and sent as a single /// Discord notification. If zero, always sends a separate notification for each connection (not recommended). /// public static readonly CVarDef DiscordWatchlistConnectionBufferTime = CVarDef.Create("discord.watchlist_connection_buffer_time", 5f, CVar.SERVERONLY); }