Enrich discord round notifications (#19502)

This commit is contained in:
Morb
2023-08-25 05:53:32 +03:00
committed by GitHub
parent 58d1aa3b1e
commit c73a90e16c
4 changed files with 49 additions and 23 deletions

View File

@@ -344,14 +344,14 @@ namespace Content.Shared.CCVar
/// <summary>
/// URL of the Discord webhook which will relay round restart messages.
/// </summary>
public static readonly CVarDef<string> DiscordRoundRestartWebhook =
CVarDef.Create("discord.round_restart_webhook", string.Empty, CVar.SERVERONLY);
public static readonly CVarDef<string> DiscordRoundUpdateWebhook =
CVarDef.Create("discord.round_update_webhook", string.Empty, CVar.SERVERONLY);
/// <summary>
/// Role id for the Discord webhook to ping when the round ends.
/// </summary>
public static readonly CVarDef<long> DiscordRoundEndRoleWebhook =
CVarDef.Create("discord.round_end_role", 0L, CVar.SERVERONLY);
public static readonly CVarDef<string> DiscordRoundEndRoleWebhook =
CVarDef.Create("discord.round_end_role", string.Empty, CVar.SERVERONLY);
/*
* Suspicion