Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ repos:
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.11
rev: v0.12.12
hooks:
- id: ruff-check
types: [file]
Expand All @@ -40,7 +40,7 @@ repos:
additional_dependencies:
- tomli
- repo: https://github.com/adhtruong/mirrors-typos
rev: v1.35.6
rev: v1.36.2
hooks:
- id: typos
- repo: https://github.com/woodruffw/zizmor-pre-commit
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ classifiers = [
]
keywords = ["discord", "bot", "minecraft"]
dependencies = [
"discord-py==2.5.2",
"discord-py==2.6.3",
"audioop-lts; python_version>='3.13'",
"python-dotenv~=1.1.1",
"httpx[http2]~=0.28.1",
Expand Down
5 changes: 3 additions & 2 deletions src/statusbot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def str_null(x: object | None) -> str | None:
else None
),
"joined_at": (
interaction.user.joined_at.isoformat() # type: ignore[typeddict-item]
interaction.user.joined_at.isoformat()
if isinstance(interaction.user, discord.Member)
and interaction.user.joined_at
else None
Expand Down Expand Up @@ -987,10 +987,11 @@ def __init__(
discord.Client.__init__(
self,
*args,
loop=self.loop,
intents=intents,
**kwargs,
)
self.loop = loop

self.stopped = Event()
self.updating = Lock()
self.prefix = prefix
Expand Down
Loading
Loading