From 352da1aaeebe4bd3e618ec49fd0daff8cb6fe3a8 Mon Sep 17 00:00:00 2001 From: Filip Strajnar Date: Sun, 16 Jun 2024 01:12:54 +0200 Subject: [PATCH] Only author is required. --- DiscordDelete/Program.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DiscordDelete/Program.cs b/DiscordDelete/Program.cs index 9af89c4..12e49b1 100644 --- a/DiscordDelete/Program.cs +++ b/DiscordDelete/Program.cs @@ -40,10 +40,10 @@ int finalCode = await CommandLine }, async (ScanOptions opt) => { - // This should never happen as those args are required. - if (opt.ChannelId is null || opt.Author is null) + // This should never happen author required. + if (opt.Author is null) { - Console.WriteLine("Channel or author ID is null."); + Console.WriteLine("Author ID is null."); return 1; }