From bd1b9b3e523eaf16bbb3f6de8789f21e8ad4919b Mon Sep 17 00:00:00 2001 From: DrSmugleaf Date: Fri, 25 Aug 2023 14:14:04 -0700 Subject: [PATCH] Make discord webhook cvars confidential (#19546) --- Content.Shared/CCVar/CCVars.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Shared/CCVar/CCVars.cs b/Content.Shared/CCVar/CCVars.cs index 8cad414a56..bd9375f103 100644 --- a/Content.Shared/CCVar/CCVars.cs +++ b/Content.Shared/CCVar/CCVars.cs @@ -326,7 +326,7 @@ namespace Content.Shared.CCVar /// 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); + CVarDef.Create("discord.ahelp_webhook", string.Empty, CVar.SERVERONLY | CVar.CONFIDENTIAL); /// /// 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. /// public static readonly CVarDef DiscordRoundUpdateWebhook = - CVarDef.Create("discord.round_update_webhook", string.Empty, CVar.SERVERONLY); + CVarDef.Create("discord.round_update_webhook", string.Empty, CVar.SERVERONLY | CVar.CONFIDENTIAL); /// /// Role id for the Discord webhook to ping when the round ends.