Fix not showing ahelp relay label to players (#15327)

This commit is contained in:
DrSmugleaf
2023-04-11 17:19:09 -07:00
committed by GitHub
parent 21378f6e41
commit c25d7ba7bd
3 changed files with 24 additions and 14 deletions

View File

@@ -46,20 +46,20 @@ namespace Content.Shared.Administration
Text = text;
}
}
}
/// <summary>
/// Sent by the server to notify all clients when the webhook url is sent.
/// The webhook url itself is not and should not be sent.
/// </summary>
[Serializable, NetSerializable]
public sealed class BwoinkDiscordRelayUpdated : EntityEventArgs
/// <summary>
/// Sent by the server to notify all clients when the webhook url is sent.
/// The webhook url itself is not and should not be sent.
/// </summary>
[Serializable, NetSerializable]
public sealed class BwoinkDiscordRelayUpdated : EntityEventArgs
{
public bool DiscordRelayEnabled { get; }
public BwoinkDiscordRelayUpdated(bool enabled)
{
public bool DiscordRelayEnabled { get; }
public BwoinkDiscordRelayUpdated(bool enabled)
{
DiscordRelayEnabled = enabled;
}
DiscordRelayEnabled = enabled;
}
}
}