Added option to not display confirmations for chat commands

This commit is contained in:
RisaDev
2024-02-04 22:46:25 +03:00
parent 82e064dc29
commit 205f60480c
3 changed files with 51 additions and 12 deletions

View File

@@ -78,6 +78,14 @@ public class PluginConfiguration : IPluginConfiguration, ISavable
public EditorConfigurationEntries EditorConfiguration { get; set; } = new();
[Serializable]
public class CommandSettingsEntries
{
public bool PrintSuccessMessages { get; set; } = true;
}
public CommandSettingsEntries CommandSettings { get; set; } = new();
[JsonIgnore]
private readonly SaveService _saveService;