Skip to main content

get_bot

Method
This is a method of the BotOSProtocol class in the protocols module.
Get a registered bot by platform name.

Signature

Parameters

str
required
Platform identifier (e.g. “telegram”).

Returns

Optional[Any]
The Bot instance, or None if not found.

Source

View on GitHub

praisonaiagents/bots/protocols.py at line 1368