Add embeds to AHelp relay (#11184)
This commit is contained in:
@@ -250,9 +250,25 @@ namespace Content.Shared.CCVar
|
||||
* Discord
|
||||
*/
|
||||
|
||||
/// <summary>
|
||||
/// 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);
|
||||
|
||||
/// <summary>
|
||||
/// 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.
|
||||
/// </summary>
|
||||
public static readonly CVarDef<string> DiscordAHelpFooterIcon =
|
||||
CVarDef.Create("discord.ahelp_footer_icon", string.Empty, CVar.SERVERONLY);
|
||||
|
||||
/// <summary>
|
||||
/// The avatar to use for the webhook. Should be an URL.
|
||||
/// </summary>
|
||||
public static readonly CVarDef<string> DiscordAHelpAvatar =
|
||||
CVarDef.Create("discord.ahelp_avatar", string.Empty, CVar.SERVERONLY);
|
||||
|
||||
/*
|
||||
* Suspicion
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user