Aliases are now defined in Configuration/Models/Aliases.cs, this is deserialized/serialized inside Configuration.js, and contains default values for command aliases. They can be configured in the JSON config, and should apply dynamically on reload.
This allows for:
Configurable alias names
Configurable amount of aliases
Aliases do not have to be included in lang files since the user has ultimate control over them
Can be dynamically reloaded
Aliases no longer need to be defined in Command classes, as they will be automatically retrieved using CommandsBase.GetAliases()
Aliases are now defined in
Configuration/Models/Aliases.cs
, this is deserialized/serialized inside Configuration.js, and contains default values for command aliases. They can be configured in the JSON config, and should apply dynamically on reload.This allows for:
CommandsBase.GetAliases()