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
|
|
|
|
|
{
|
|
|
|
|
[Option('g', "guild")]
|
|
|
|
|
public string? GuildId { get; set; }
|
|
|
|
|
|
2024-06-16 00:59:56 +02:00
|
|
|
[Option('c', "channel")]
|
2024-06-16 00:01:19 +02:00
|
|
|
public string? ChannelId { get; set; }
|
2024-06-16 00:28:49 +02:00
|
|
|
|
|
|
|
|
[Option('a', "author", Required = true)]
|
|
|
|
|
public string? Author { get; set; }
|
2024-06-16 00:01:19 +02:00
|
|
|
}
|
|
|
|
|
}
|