-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAlarmComponentIds.cs
More file actions
29 lines (21 loc) · 1.31 KB
/
Copy pathAlarmComponentIds.cs
File metadata and controls
29 lines (21 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
namespace RustPlusBot.Features.Alarms.Rendering;
/// <summary>Custom ids for alarm components. Tails encode "{serverId}:{entityId}".</summary>
internal static class AlarmComponentIds
{
/// <summary>Pairing-prompt Accept button; tail "{serverId}:{entityId}".</summary>
public const string AcceptPrefix = "alarm:accept:";
/// <summary>Pairing-prompt Dismiss button; tail "{serverId}:{entityId}".</summary>
public const string DismissPrefix = "alarm:dismiss:";
/// <summary>Ping @everyone toggle button; tail "{serverId}:{entityId}".</summary>
public const string PingTogglePrefix = "alarm:ping:";
/// <summary>Relay to team chat toggle button; tail "{serverId}:{entityId}".</summary>
public const string RelayTogglePrefix = "alarm:relay:";
/// <summary>Refresh button (re-reads live state); tail "{serverId}:{entityId}".</summary>
public const string RefreshPrefix = "alarm:refresh:";
/// <summary>Rename button (opens the modal); tail "{serverId}:{entityId}".</summary>
public const string RenamePrefix = "alarm:rename:";
/// <summary>Rename modal id; tail "{serverId}:{entityId}".</summary>
public const string RenameModalPrefix = "alarm:rename:modal:";
/// <summary>The rename modal's text input id.</summary>
public const string RenameInputId = "alarm:rename:input";
}