From af7925bec7ef147f64b08f561a04325cb2bd7a0a Mon Sep 17 00:00:00 2001 From: czjstmax Date: Sun, 15 Feb 2026 16:40:11 +0100 Subject: fixed `:vol ?` --- more in commit desc. `:vol ?` now returns value of `volume` rounded up and in percent instead of stupid ahh guide Signed-off-by: czjstmax --- ambient.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ambient.py b/ambient.py index 090cfe7..af14b12 100644 --- a/ambient.py +++ b/ambient.py @@ -107,7 +107,8 @@ async def volume_cmd(ctx, vol: str): """set volume in % from 0-100""" global volume if vol == "?": - await ctx.send(f"♥ to set the volume just type `:vol 50%` ~~!"); + #await ctx.send(f"♥ to set the volume just type `:vol 50%` ~~!") + await ctx.send(f"♥ the current volume is {round(volume*100)}% ~~!") return 1 try: -- cgit v1.3.1