Fixed the discord bot Info command, to release the profile once command has finished running.

This commit is contained in:
Brett Hewitson 2022-04-23 13:29:22 +10:00
parent b5de529e32
commit f8d650556a
3 changed files with 12 additions and 0 deletions

View file

@ -178,6 +178,8 @@ namespace ServerManagerTool.Utils
{
responseList.Add(string.Format(_globalizer.GetResourceString("DiscordBot_InfoFailed"), profile.ServerName));
}
_currentProfileCommands.Remove(profile.ProfileId);
}
return responseList;