Only author is required.

This commit is contained in:
Filip Strajnar 2024-06-16 01:12:54 +02:00
parent a2c6074eba
commit 352da1aaee

View file

@ -40,10 +40,10 @@ int finalCode = await CommandLine
}, },
async (ScanOptions opt) => async (ScanOptions opt) =>
{ {
// This should never happen as those args are required. // This should never happen author required.
if (opt.ChannelId is null || opt.Author is null) if (opt.Author is null)
{ {
Console.WriteLine("Channel or author ID is null."); Console.WriteLine("Author ID is null.");
return 1; return 1;
} }