-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProvisionedChannel.cs
More file actions
23 lines (17 loc) · 935 Bytes
/
Copy pathProvisionedChannel.cs
File metadata and controls
23 lines (17 loc) · 935 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
namespace RustPlusBot.Domain.Workspace;
/// <summary>A Discord text channel the bot has provisioned, identified by its stable spec key.</summary>
public sealed class ProvisionedChannel
{
/// <summary>Surrogate primary key.</summary>
public Guid Id { get; set; } = Guid.NewGuid();
/// <summary>The owning Discord guild snowflake.</summary>
public ulong GuildId { get; set; }
/// <summary>The server this channel belongs to, or <c>null</c> for a global channel.</summary>
public Guid? RustServerId { get; set; }
/// <summary>The stable spec key (e.g. "information", "setup", "settings", "info").</summary>
public string ChannelKey { get; set; } = string.Empty;
/// <summary>The provisioned Discord channel snowflake.</summary>
public ulong DiscordChannelId { get; set; }
/// <summary>When the record was first created (UTC).</summary>
public DateTimeOffset CreatedAt { get; set; }
}