mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-03-07 15:36:08 +00:00
Use nullable
This commit is contained in:
@@ -6,17 +6,17 @@
|
||||
{
|
||||
public string Id { get; }
|
||||
|
||||
public string ParentId { get; }
|
||||
public string? ParentId { get; }
|
||||
|
||||
public string GuildId { get; }
|
||||
public string? GuildId { get; }
|
||||
|
||||
public string Name { get; }
|
||||
|
||||
public string Topic { get; }
|
||||
public string? Topic { get; }
|
||||
|
||||
public ChannelType Type { get; }
|
||||
|
||||
public Channel(string id, string parentId, string guildId, string name, string topic, ChannelType type)
|
||||
public Channel(string id, string? parentId, string? guildId, string name, string? topic, ChannelType type)
|
||||
{
|
||||
Id = id;
|
||||
ParentId = parentId;
|
||||
|
||||
Reference in New Issue
Block a user