deltabot-cli 3.2.1__tar.gz → 3.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {deltabot-cli-3.2.1/deltabot_cli.egg-info → deltabot-cli-3.2.2}/PKG-INFO +1 -1
- {deltabot-cli-3.2.1 → deltabot-cli-3.2.2}/deltabot_cli/cli.py +1 -1
- {deltabot-cli-3.2.1 → deltabot-cli-3.2.2}/deltabot_cli/client.py +1 -1
- {deltabot-cli-3.2.1 → deltabot-cli-3.2.2}/deltabot_cli/events.py +1 -1
- {deltabot-cli-3.2.1 → deltabot-cli-3.2.2/deltabot_cli.egg-info}/PKG-INFO +1 -1
- {deltabot-cli-3.2.1 → deltabot-cli-3.2.2}/.github/workflows/python-ci.yml +0 -0
- {deltabot-cli-3.2.1 → deltabot-cli-3.2.2}/.gitignore +0 -0
- {deltabot-cli-3.2.1 → deltabot-cli-3.2.2}/LICENSE +0 -0
- {deltabot-cli-3.2.1 → deltabot-cli-3.2.2}/README.md +0 -0
- {deltabot-cli-3.2.1 → deltabot-cli-3.2.2}/deltabot_cli/__init__.py +0 -0
- {deltabot-cli-3.2.1 → deltabot-cli-3.2.2}/deltabot_cli/_utils.py +0 -0
- {deltabot-cli-3.2.1 → deltabot-cli-3.2.2}/deltabot_cli/const.py +0 -0
- {deltabot-cli-3.2.1 → deltabot-cli-3.2.2}/deltabot_cli/rpc.py +0 -0
- {deltabot-cli-3.2.1 → deltabot-cli-3.2.2}/deltabot_cli/utils.py +0 -0
- {deltabot-cli-3.2.1 → deltabot-cli-3.2.2}/deltabot_cli.egg-info/SOURCES.txt +0 -0
- {deltabot-cli-3.2.1 → deltabot-cli-3.2.2}/deltabot_cli.egg-info/dependency_links.txt +0 -0
- {deltabot-cli-3.2.1 → deltabot-cli-3.2.2}/deltabot_cli.egg-info/requires.txt +0 -0
- {deltabot-cli-3.2.1 → deltabot-cli-3.2.2}/deltabot_cli.egg-info/top_level.txt +0 -0
- {deltabot-cli-3.2.1 → deltabot-cli-3.2.2}/examples/echobot.py +0 -0
- {deltabot-cli-3.2.1 → deltabot-cli-3.2.2}/examples/echobot_advanced.py +0 -0
- {deltabot-cli-3.2.1 → deltabot-cli-3.2.2}/pylama.ini +0 -0
- {deltabot-cli-3.2.1 → deltabot-cli-3.2.2}/pyproject.toml +0 -0
- {deltabot-cli-3.2.1 → deltabot-cli-3.2.2}/setup.cfg +0 -0
|
@@ -189,7 +189,7 @@ class BotCli:
|
|
|
189
189
|
def _init_cmd(cli: BotCli, bot: Bot, args: Namespace) -> None:
|
|
190
190
|
"""initialize the account"""
|
|
191
191
|
|
|
192
|
-
def on_progress(event: AttrDict) -> None:
|
|
192
|
+
def on_progress(bot: Bot, _accid: int, event: AttrDict) -> None:
|
|
193
193
|
if event.comment:
|
|
194
194
|
bot.logger.info(event.comment)
|
|
195
195
|
pbar.set_progress(event.progress)
|
|
@@ -76,8 +76,8 @@ class Client:
|
|
|
76
76
|
"""
|
|
77
77
|
self.logger.debug("Listening to incoming events...")
|
|
78
78
|
if accid:
|
|
79
|
-
self.rpc.start_io(accid)
|
|
80
79
|
if self.rpc.is_configured(accid):
|
|
80
|
+
self.rpc.start_io(accid)
|
|
81
81
|
self._process_messages(accid) # Process old messages.
|
|
82
82
|
else:
|
|
83
83
|
self.rpc.start_io_for_all_accounts()
|
|
@@ -19,7 +19,7 @@ if TYPE_CHECKING:
|
|
|
19
19
|
from ._utils import AttrDict
|
|
20
20
|
from .client import Bot
|
|
21
21
|
FilterCallback = Callable[["Bot", "AttrDict"], bool]
|
|
22
|
-
HookCallback = Callable[["Bot", "AttrDict"], None]
|
|
22
|
+
HookCallback = Callable[["Bot", int, "AttrDict"], None]
|
|
23
23
|
HookDecorator = Callable[[HookCallback], HookCallback]
|
|
24
24
|
|
|
25
25
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|