mirror of
https://onedev.fprog.nl/DiscordClient
synced 2025-12-29 21:58:37 +01:00
Added ResourceType to attributes.
This commit is contained in:
parent
5253d412e6
commit
a2c6074eba
|
|
@ -9,13 +9,13 @@ namespace DiscordDelete
|
|||
[Verb("scan", HelpText = "Delete all saved messages.")]
|
||||
public class ScanOptions
|
||||
{
|
||||
[Option('g', "guild")]
|
||||
[Option('g', "guild", ResourceType = typeof(string), Default = null)]
|
||||
public string? GuildId { get; set; }
|
||||
|
||||
[Option('c', "channel")]
|
||||
[Option('c', "channel", ResourceType = typeof(string))]
|
||||
public string? ChannelId { get; set; }
|
||||
|
||||
[Option('a', "author", Required = true)]
|
||||
[Option('a', "author", Required = true, ResourceType = typeof(string))]
|
||||
public string? Author { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue