stop method

Future<void> stop()

Stop the bot

Implementation

Future<void> stop() async {
  if (!_isStarted) return;

  await _client.disconnect();
  _isStarted = false;
}