2024-06-16 00:01:19 +02:00
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using CommandLine;
|
|
|
|
|
|
|
|
|
|
namespace DiscordDelete
|
|
|
|
|
{
|
|
|
|
|
[Verb("scan", HelpText = "Delete all saved messages.")]
|
|
|
|
|
public class ScanOptions
|
|
|
|
|
{
|
2024-06-16 01:09:46 +02:00
|
|
|
[Option('g', "guild", ResourceType = typeof(string), Default = null)]
|
2024-06-16 00:01:19 +02:00
|
|
|
public string? GuildId { get; set; }
|
|
|
|
|
|
2024-06-16 01:09:46 +02:00
|
|
|
[Option('c', "channel", ResourceType = typeof(string))]
|
2024-06-16 00:01:19 +02:00
|
|
|
public string? ChannelId { get; set; }
|
2024-06-16 00:28:49 +02:00
|
|
|
|
2024-06-16 19:24:14 +02:00
|
|
|
[Option('a', "author", Required = false, ResourceType = typeof(string), Default = null)]
|
2024-06-16 00:28:49 +02:00
|
|
|
public string? Author { get; set; }
|
2024-06-16 00:01:19 +02:00
|
|
|
}
|
|
|
|
|
}
|