mirror of
https://onedev.fprog.nl/DiscordClient
synced 2026-01-30 23:53:42 +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.")]
|
[Verb("scan", HelpText = "Delete all saved messages.")]
|
||||||
public class ScanOptions
|
public class ScanOptions
|
||||||
{
|
{
|
||||||
[Option('g', "guild")]
|
[Option('g', "guild", ResourceType = typeof(string), Default = null)]
|
||||||
public string? GuildId { get; set; }
|
public string? GuildId { get; set; }
|
||||||
|
|
||||||
[Option('c', "channel")]
|
[Option('c', "channel", ResourceType = typeof(string))]
|
||||||
public string? ChannelId { get; set; }
|
public string? ChannelId { get; set; }
|
||||||
|
|
||||||
[Option('a', "author", Required = true)]
|
[Option('a', "author", Required = true, ResourceType = typeof(string))]
|
||||||
public string? Author { get; set; }
|
public string? Author { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue