From f8d650556a6e6bd995023992461a9e8ab507e3e9 Mon Sep 17 00:00:00 2001 From: Brett Hewitson Date: Sat, 23 Apr 2022 13:29:22 +1000 Subject: [PATCH] Fixed the discord bot Info command, to release the profile once command has finished running. --- src/ConanServerManager/Utils/DiscordBotHelper.cs | 2 ++ src/ConanServerManager/VersionFeed.xml | 5 +++++ src/ConanServerManager/VersionFeedBeta.xml | 5 +++++ 3 files changed, 12 insertions(+) diff --git a/src/ConanServerManager/Utils/DiscordBotHelper.cs b/src/ConanServerManager/Utils/DiscordBotHelper.cs index bf1b691a..49994593 100644 --- a/src/ConanServerManager/Utils/DiscordBotHelper.cs +++ b/src/ConanServerManager/Utils/DiscordBotHelper.cs @@ -178,6 +178,8 @@ namespace ServerManagerTool.Utils { responseList.Add(string.Format(_globalizer.GetResourceString("DiscordBot_InfoFailed"), profile.ServerName)); } + + _currentProfileCommands.Remove(profile.ProfileId); } return responseList; diff --git a/src/ConanServerManager/VersionFeed.xml b/src/ConanServerManager/VersionFeed.xml index a0fdf9d4..abb3813e 100644 --- a/src/ConanServerManager/VersionFeed.xml +++ b/src/ConanServerManager/VersionFeed.xml @@ -16,6 +16,11 @@

+ BUGFIX +
+

    +
  • Fixed the discord bot Info command, to release the profile once the command has finished running.
  • +
NEW
    diff --git a/src/ConanServerManager/VersionFeedBeta.xml b/src/ConanServerManager/VersionFeedBeta.xml index a26b4937..801b398b 100644 --- a/src/ConanServerManager/VersionFeedBeta.xml +++ b/src/ConanServerManager/VersionFeedBeta.xml @@ -16,6 +16,11 @@

    + BUGFIX +
    +

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