about summary refs log tree commit diff
path: root/Utilities/LibMatrix.Utilities.Bot/Configuration/CommandListenerConfiguration.cs
blob: e3026cd4e9e00d563c6be1ee7b40d21bf08d5369 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System.Diagnostics.CodeAnalysis;
using LibMatrix.Filters;

namespace LibMatrix.Utilities.Bot.Configuration;

[SuppressMessage("ReSharper", "UnusedAutoPropertyAccessor.Global", Justification = "Configuration")]
[SuppressMessage("ReSharper", "ClassNeverInstantiated.Global", Justification = "Configuration")]
public class CommandListenerSyncConfiguration {
    // public SyncFilter? Filter { get; set; }
    public TimeSpan? MinimumSyncTime { get; set; }
    public int? Timeout { get; set; }
    public string? Presence { get; set; }
    // public bool InitialSyncOnStartup { get; set; }
}

[SuppressMessage("ReSharper", "UnusedAutoPropertyAccessor.Global", Justification = "Configuration")]
[SuppressMessage("ReSharper", "ClassNeverInstantiated.Global", Justification = "Configuration")]
public class CommandListenerConfiguration {
    public CommandListenerSyncConfiguration SyncConfiguration { get; set; } = new();

    public required List<string> Prefixes { get; set; }
    public bool MentionPrefix { get; set; }
    public bool SelfCommandsOnly { get; set; }
}