diff --git a/DiscordChatExporter.Core/Discord/Data/Guild.cs b/DiscordChatExporter.Core/Discord/Data/Guild.cs index 3e39443..98ba4d1 100644 --- a/DiscordChatExporter.Core/Discord/Data/Guild.cs +++ b/DiscordChatExporter.Core/Discord/Data/Guild.cs @@ -8,7 +8,7 @@ namespace DiscordChatExporter.Core.Discord.Data; // https://discord.com/developers/docs/resources/guild#guild-object public partial record Guild(Snowflake Id, string Name, string IconUrl) : IHasId { - public bool IsDirect { get; } = Id == DirectMessages.Id; + public bool IsDirect { get; } = Id == Snowflake.Zero; } public partial record Guild