mirror of
https://onedev.fprog.nl/DiscordClient
synced 2025-12-29 18:08:37 +01:00
22 lines
623 B
C#
22 lines
623 B
C#
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", ResourceType = typeof(string), Default = null)]
|
|
public string? GuildId { get; set; }
|
|
|
|
[Option('c', "channel", ResourceType = typeof(string))]
|
|
public string? ChannelId { get; set; }
|
|
|
|
[Option('a', "author", Required = false, ResourceType = typeof(string), Default = null)]
|
|
public string? Author { get; set; }
|
|
}
|
|
}
|