mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
Added new rules concerning type constraints and :base() calls. Reformatted attributes folder
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
|
||||
public static class CommandNameLoadHelper
|
||||
{
|
||||
|
||||
private static readonly YamlDotNet.Serialization.IDeserializer _deserializer
|
||||
= new YamlDotNet.Serialization.Deserializer();
|
||||
|
||||
public static Lazy<Dictionary<string, string[]>> LazyCommandAliases = new(() => LoadCommandNames());
|
||||
private static readonly YamlDotNet.Serialization.IDeserializer _deserializer =
|
||||
new YamlDotNet.Serialization.Deserializer();
|
||||
|
||||
public static Lazy<Dictionary<string, string[]>> LazyCommandAliases = new(() => LoadCommandNames());
|
||||
|
||||
public static Dictionary<string, string[]> LoadCommandNames(string aliasesFilePath = "data/aliases.yml")
|
||||
{
|
||||
var text = File.ReadAllText(aliasesFilePath);
|
||||
|
Reference in New Issue
Block a user