Skip to content

Commit e71baf1

Browse files
committed
Fix /version to fit new pyproject.toml from uv
1 parent d1b7273 commit e71baf1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "my-discord-bot"
3-
version = "4.1.0"
3+
version = "4.1.1"
44
description = "Discord Bot by Reguna"
55
readme = "README.md"
66
requires-python = ">=3.11"

src/my_discord_bot/cogs/meta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ async def version(self, ia: discord.Interaction) -> None:
284284
try:
285285
await ia.response.send_message(
286286
version_template.format(
287-
version=tomllib.load(toml)["tool"]["poetry"]["version"]
287+
version=tomllib.load(toml)["project"]["version"]
288288
)
289289
)
290290
except KeyError:

0 commit comments

Comments
 (0)