Always show ahelp relay message when the relay is enabled (#14931)
This commit is contained in:
@@ -29,7 +29,9 @@ namespace Content.Shared.Administration
|
||||
public sealed class BwoinkTextMessage : EntityEventArgs
|
||||
{
|
||||
public DateTime SentAt { get; }
|
||||
|
||||
public NetUserId UserId { get; }
|
||||
|
||||
// This is ignored from the client.
|
||||
// It's checked by the client when receiving a message from the server for bwoink noises.
|
||||
// This could be a boolean "Incoming", but that would require making a second instance.
|
||||
@@ -44,5 +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
|
||||
{
|
||||
public bool DiscordRelayEnabled { get; }
|
||||
|
||||
public BwoinkDiscordRelayUpdated(bool enabled)
|
||||
{
|
||||
DiscordRelayEnabled = enabled;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user