Skip to content

Commit eefecd9

Browse files
committed
Update Butlerv3.cs
1 parent ef44b45 commit eefecd9

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Tools/Butlerv3.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,11 @@ public void BasicAFButler()
232232
}
233233
}
234234
catch { }
235+
finally
236+
{
237+
Bot.StopAsync(true);
238+
}
239+
235240
}
236241

237242
Bot.Events.ExtensionPacketReceived -= ChatListener;
@@ -310,6 +315,7 @@ void ChatListener(dynamic packet)
310315
);
311316

312317
Bot.StopSync(true);
318+
return;
313319
}
314320
}
315321
}

0 commit comments

Comments
 (0)