Make /pal check command names
This commit is contained in:
parent
3c7b392475
commit
a1a10e4b4a
@ -115,6 +115,7 @@ namespace Pal.Client
|
||||
|
||||
try
|
||||
{
|
||||
arguments = arguments.Trim();
|
||||
switch (arguments)
|
||||
{
|
||||
case "stats":
|
||||
@ -128,9 +129,13 @@ namespace Pal.Client
|
||||
break;
|
||||
#endif
|
||||
|
||||
default:
|
||||
case "":
|
||||
Service.WindowSystem.GetWindow<ConfigWindow>()?.Toggle();
|
||||
break;
|
||||
|
||||
default:
|
||||
Service.Chat.PrintError($"[Palace Pal] Unknown sub-command '{arguments}' for '{command}'.");
|
||||
break;
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
Loading…
Reference in New Issue
Block a user