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;

View file

@ -16,6 +16,11 @@
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml" style="font-family: Arial, Verdana, Helvetica, Sans-Serif;font-size: .8em;">
<p>
<u style="font-size: .9em;">BUGFIX</u>
<br/>
<ul>
<li>Fixed the discord bot Info command, to release the profile once the command has finished running.</li>
</ul>
<u style="font-size: .9em;">NEW</u>
<br/>
<ul>

View file

@ -16,6 +16,11 @@
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml" style="font-family: Arial, Verdana, Helvetica, Sans-Serif;font-size: .8em;">
<p>
<u style="font-size: .9em;">BUGFIX</u>
<br/>
<ul>
<li>Fixed the discord bot Info command, to release the profile once the command has finished running.</li>
</ul>
<u style="font-size: .9em;">NEW</u>
<br/>
<ul>