timer-bot 1.8__tar.gz → 1.10__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,18 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ 1.10 (2025-04-26)
5
+ -----------------
6
+
7
+ - Bump discord-py-interactions
8
+
9
+
10
+ 1.9 (2024-12-01)
11
+ ----------------
12
+
13
+ - Fix dependencies
14
+
15
+
4
16
  1.8 (2024-12-01)
5
17
  ----------------
6
18
 
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: timer-bot
3
- Version: 1.8
3
+ Version: 1.10
4
4
  Summary: Discord Timer Bot
5
5
  Author-email: Lionel Panhaleux <lionel.panhaleux+timer@gmail.com>
6
6
  Project-URL: Repository, https://github.com/lionel-panhaleux/timer-bot
@@ -16,12 +16,13 @@ Classifier: Environment :: Web Environment
16
16
  Requires-Python: >=3.11
17
17
  Description-Content-Type: text/markdown
18
18
  License-File: LICENSE
19
- Requires-Dist: discord-py-interactions>5.13
20
- Requires-Dist: uvloop>0.21
19
+ Requires-Dist: discord-py-interactions>=5.14
20
+ Requires-Dist: uvloop>=0.21
21
21
  Provides-Extra: dev
22
22
  Requires-Dist: black; extra == "dev"
23
23
  Requires-Dist: ruff; extra == "dev"
24
24
  Requires-Dist: zest.releaser[recommended]; extra == "dev"
25
+ Dynamic: license-file
25
26
 
26
27
  # timer
27
28
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "timer-bot"
7
- version = "1.8"
7
+ version = "1.10"
8
8
  authors = [
9
9
  { name = "Lionel Panhaleux", email = "lionel.panhaleux+timer@gmail.com" },
10
10
  ]
@@ -22,7 +22,7 @@ classifiers = [
22
22
  "Operating System :: OS Independent",
23
23
  "Environment :: Web Environment",
24
24
  ]
25
- dependencies = ["discord-py-interactions>5.13", "uvloop>0.21"]
25
+ dependencies = ["discord-py-interactions>=5.14", "uvloop>=0.21"]
26
26
 
27
27
  [project.optional-dependencies]
28
28
  dev = ["black", "ruff", "zest.releaser[recommended]"]
@@ -28,7 +28,7 @@ async def on_ready():
28
28
  @interactions.listen()
29
29
  async def on_startup():
30
30
  """Startup success"""
31
- logger.info(f"Started")
31
+ logger.info("Started")
32
32
 
33
33
 
34
34
  @interactions.listen()
@@ -495,7 +495,7 @@ async def button_stop_response(ctx: interactions.ComponentContext):
495
495
 
496
496
 
497
497
  async def _pause_timer(
498
- ctx: Union[interactions.SlashContext, interactions.ComponentContext]
498
+ ctx: Union[interactions.SlashContext, interactions.ComponentContext],
499
499
  ):
500
500
  timer = TIMERS.get(ctx.channel, None)
501
501
  if not timer:
@@ -517,12 +517,12 @@ async def _pause_timer(
517
517
  message = f"{timer.author.mention} timer paused by {ctx.author.mention}"
518
518
  else:
519
519
  ephemeral = True
520
- message = f"Timer paused"
520
+ message = "Timer paused"
521
521
  await ctx.send(message, ephemeral=ephemeral)
522
522
 
523
523
 
524
524
  async def _resume_timer(
525
- ctx: Union[interactions.SlashContext, interactions.ComponentContext]
525
+ ctx: Union[interactions.SlashContext, interactions.ComponentContext],
526
526
  ):
527
527
  timer = TIMERS.get(ctx.channel, None)
528
528
  if not timer:
@@ -543,7 +543,7 @@ async def _resume_timer(
543
543
 
544
544
 
545
545
  async def _stop_timer(
546
- ctx: Union[interactions.SlashContext, interactions.ComponentContext]
546
+ ctx: Union[interactions.SlashContext, interactions.ComponentContext],
547
547
  ):
548
548
  timer = TIMERS.get(ctx.channel, None)
549
549
  if not timer:
File without changes
File without changes
File without changes
File without changes
File without changes