Stops bot by stopping polling and closing the worker pool.
(self)
| 1379 | |
| 1380 | |
| 1381 | def stop_bot(self): |
| 1382 | """ |
| 1383 | Stops bot by stopping polling and closing the worker pool. |
| 1384 | """ |
| 1385 | self.stop_polling() |
| 1386 | if self.threaded and self.worker_pool: |
| 1387 | self.worker_pool.close() |
| 1388 | |
| 1389 | |
| 1390 | def set_update_listener(self, listener: Callable): |
nothing calls this directly
no test coverage detected