mirror of
https://onedev.fprog.nl/DiscordClient
synced 2025-12-29 15:38:37 +01:00
Only author is required.
This commit is contained in:
parent
a2c6074eba
commit
352da1aaee
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue