Skip to content

Fix on_ready and the scheduler waiting for the first room event - #138

Merged
PenguinBoi12 merged 1 commit into
mainfrom
scheduler-fix
Nov 9, 2026
Merged

PenguinBoi12 merged 1 commit into
mainfrom
scheduler-fix

Conversation

@PenguinBoi12

Copy link
Copy Markdown
Contributor

Description

Bot.run() waits on _synced before calling on_ready and starting the scheduler. _synced was only set in
_on_matrix_event, so in quiet rooms the bot was idle until someone did something.

Type of Change

  • Feature
  • Refactor
  • Bug fix
  • Documentation
  • Other: ___

Pre-merge Checklist

  • Run tests: pytest
  • Run type check: mypy
  • Run formatting: `black .

@PenguinBoi12
PenguinBoi12 merged commit 0e96efa into main Nov 9, 2026
4 checks passed
@PenguinBoi12
PenguinBoi12 deleted the scheduler-fix branch November 9, 2026 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant