MCPcopy Create free account
hub / github.com/antirez/freakwan / stop

Method stop

telegram.py:32–33  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

30 # Stop the task handling the bot. This should be called before
31 # destroying the object, in order to also terminate the task.
32 def stop(self):
33 self.active = False
34
35 # Main telegram bot loop.
36 # Sould be executed asynchronously, like with:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected