Skip to content

Commit c86c882

Browse files
committed
remove stuff that shouldn't be called
these are called internally automatically
1 parent a501e88 commit c86c882

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Helpers/OrderbotHelper.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ private static async void MyThread(string profile)
7676
//await WaitUntil(() => loaded, timeout: 20000);
7777
loaded = false;
7878
Log.Information("Botbase set to orderbot");
79-
BotManager.Current.Initialize();
80-
Log.Information("Initialize");
79+
8180
NeoProfileManager.Load(profile);
8281
Log.Information("Profile loaded");
8382

@@ -110,15 +109,13 @@ private static async void MyThread(string profile)
110109
tempbool = false;
111110

112111
TreeRoot.OnStart += OnBotStart;
113-
BotManager.Current.Initialize();
114112

115113
if (StopBot)
116114
{
117115
Log.Information("Since we stopped the bot with the button, we will not restart it");
118116
return;
119117
}
120118

121-
BotManager.Current.Start();
122119

123120
//NeoProfileManager.Load(profile);
124121

0 commit comments

Comments
 (0)