This commit is contained in:
JustArchi
2022-06-11 18:15:46 +02:00
parent 95a6cef6db
commit 6eb9b9b26d

View File

@@ -2094,7 +2094,7 @@ public sealed class Bot : IAsyncDisposable {
RemoteCommunication = null;
}
if ((BotConfig.RemoteCommunication > BotConfig.ERemoteCommunication.None)) {
if (!Debugging.IsDebugBuild && (BotConfig.RemoteCommunication > BotConfig.ERemoteCommunication.None)) {
RemoteCommunication = new RemoteCommunication(this);
}