feat: Command prefix is now configurable via settings (#572)

This commit is contained in:
Pedro Pardal 2021-04-15 22:53:15 +02:00 committed by GitHub
parent c8f4149fed
commit 837ca91843
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ namespace Server.Commands
{
public static void Initialize()
{
CommandSystem.Prefix = "[";
CommandSystem.Prefix = ServerConfiguration.GetOrUpdateSetting("commandsystem.prefix", "[");
Register("Go", AccessLevel.Counselor, Go_OnCommand);