Make discord webhook cvars confidential (#19546)
This commit is contained in:
@@ -326,7 +326,7 @@ namespace Content.Shared.CCVar
|
||||
/// URL of the Discord webhook which will relay all ahelp messages.
|
||||
/// </summary>
|
||||
public static readonly CVarDef<string> DiscordAHelpWebhook =
|
||||
CVarDef.Create("discord.ahelp_webhook", string.Empty, CVar.SERVERONLY);
|
||||
CVarDef.Create("discord.ahelp_webhook", string.Empty, CVar.SERVERONLY | CVar.CONFIDENTIAL);
|
||||
|
||||
/// <summary>
|
||||
/// The server icon to use in the Discord ahelp embed footer.
|
||||
@@ -345,7 +345,7 @@ namespace Content.Shared.CCVar
|
||||
/// URL of the Discord webhook which will relay round restart messages.
|
||||
/// </summary>
|
||||
public static readonly CVarDef<string> DiscordRoundUpdateWebhook =
|
||||
CVarDef.Create("discord.round_update_webhook", string.Empty, CVar.SERVERONLY);
|
||||
CVarDef.Create("discord.round_update_webhook", string.Empty, CVar.SERVERONLY | CVar.CONFIDENTIAL);
|
||||
|
||||
/// <summary>
|
||||
/// Role id for the Discord webhook to ping when the round ends.
|
||||
|
||||
Reference in New Issue
Block a user