Skip to content

Comments

Fix 'Command' Not Found In checks.py#25

Merged
PenguinBoi12 merged 2 commits intomainfrom
fix-importing-error-in-checks
Feb 12, 2026
Merged

Fix 'Command' Not Found In checks.py#25
PenguinBoi12 merged 2 commits intomainfrom
fix-importing-error-in-checks

Conversation

@PenguinBoi12
Copy link
Contributor

@PenguinBoi12 PenguinBoi12 commented Feb 12, 2026

    @cooldown(rate=2, period=10)
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/penguinboi/Téléchargements/hello/venv/lib/python3.12/site-packages/matrix/checks.py", line 17, in cooldown
    def wrapper(cmd: Command) -> Command:
                     ^^^^^^^
NameError: name 'Command' is not defined

Also, updating black required new formatting

@PenguinBoi12 PenguinBoi12 force-pushed the fix-importing-error-in-checks branch from 16b3b56 to 9c9271d Compare February 12, 2026 15:33
@PenguinBoi12 PenguinBoi12 merged commit f55ea1d into main Feb 12, 2026
4 checks passed
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