mirror of
https://github.com/agessaman/meshcore-bot.git
synced 2026-10-22 22:11:15 +00:00
fix: BUG-025/026/027/028/029 implementations and ruff/mypy refinements
BUG-025: send_channel_message retry logic on no_event_received BUG-026: split_text_into_chunks and chunked dispatch in message_handler BUG-027: test_weekly_on_wrong_day_does_not_run patch uses fake_now BUG-028: byte_data = b"" initialised before try in decode_meshcore_packet BUG-029: app.py db_path via self._config_base; realtime.html socket race fixed; base.html forceNew removed; ping_timeout 5 to 20s Additional: ruff and mypy refinements across all modules; discord bridge, telegram bridge, rate limiter, and service plugin updates
This commit is contained in:
1 parent
ba83acb064
commit
c9cfcdfe00
66 files changed
+1086
-241
No files matched your search
@@ -47,7 +47,7 @@ class TraceCommand(BaseCommand):
|
||||
output_fmt = (self.bot.config.get("Trace_Command", "output_format", fallback="inline") or "inline").strip().lower()
|
||||
self.output_format = output_fmt if output_fmt in ("inline", "vertical") else "inline"
|
||||
|
||||
def can_execute(self, message: MeshMessage) -> bool:
|
||||
def can_execute(self, message: MeshMessage, skip_channel_check: bool = False) -> bool:
|
||||
if not self.trace_enabled:
|
||||
return False
|
||||
return super().can_execute(message)
|
||||
|
||||
Reference in new issue
Block a user