File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments