using NadekoBot.Medusa; using System.Reflection; namespace NadekoBot.Medusa; public sealed class SnekCommandData { public SnekCommandData( IReadOnlyCollection aliases, MethodInfo methodInfo, Snek module, FilterAttribute[] filters, MedusaPermAttribute[] userAndBotPerms, CommandContextType contextType, IReadOnlyList injectedParams, IReadOnlyList parameters, CommandStrings strings, int priority) { Aliases = aliases; MethodInfo = methodInfo; Module = module; Filters = filters; UserAndBotPerms = userAndBotPerms; ContextType = contextType; InjectedParams = injectedParams; Parameters = parameters; Priority = priority; OptionalStrings = strings; } public MedusaPermAttribute[] UserAndBotPerms { get; set; } public CommandStrings OptionalStrings { get; set; } public IReadOnlyCollection Aliases { get; } public MethodInfo MethodInfo { get; set; } public Snek Module { get; set; } public FilterAttribute[] Filters { get; set; } public CommandContextType ContextType { get; } public IReadOnlyList InjectedParams { get; } public IReadOnlyList Parameters { get; } public int Priority { get; } }