fix the locate command function
Some checks failed
.NET Core / build (macOS-latest) (push) Has been cancelled
.NET Core / build (ubuntu-latest) (push) Has been cancelled
.NET Core / build (windows-latest) (push) Has been cancelled

This commit is contained in:
zontreck 2021-02-21 05:51:07 -07:00
parent 95d661ada2
commit 4847fdf96a

View file

@ -106,7 +106,7 @@ namespace Bot.CommandSystem
CommandGroup CG = Command[ix]; CommandGroup CG = Command[ix];
CG.AssignedMethod = MI; CG.AssignedMethod = MI;
if (Cmds.ContainsKey(CG.Command) == false) if (Cmds.ContainsKey(CG.Command.ToLower()) == false)
{ {
Log.info(true, "DISCOVER: " + CG.Command); Log.info(true, "DISCOVER: " + CG.Command);
Cmds.Add(CG.Command.ToLower(), CG); Cmds.Add(CG.Command.ToLower(), CG);