about summary refs log tree commit diff
path: root/Utilities/LibMatrix.Utilities.Bot/Configuration/CommandListenerConfiguration.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/LibMatrix.Utilities.Bot/Configuration/CommandListenerConfiguration.cs')
-rw-r--r--Utilities/LibMatrix.Utilities.Bot/Configuration/CommandListenerConfiguration.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/Utilities/LibMatrix.Utilities.Bot/Configuration/CommandListenerConfiguration.cs b/Utilities/LibMatrix.Utilities.Bot/Configuration/CommandListenerConfiguration.cs
new file mode 100644

index 0000000..e3026cd --- /dev/null +++ b/Utilities/LibMatrix.Utilities.Bot/Configuration/CommandListenerConfiguration.cs
@@ -0,0 +1,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; } +} \ No newline at end of file