aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorczjstmax <jstmaxlol@disroot.org>2026-02-15 16:40:11 +0100
committerczjstmax <jstmaxlol@disroot.org>2026-02-15 16:40:11 +0100
commitaf7925bec7ef147f64b08f561a04325cb2bd7a0a (patch)
treeed33553c5c90fcd64d94951c17b1ceefd46c4d62
parente1683b6f1cfc97ae9083edd0a4ec6f7a22a7f53a (diff)
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 <jstmaxlol@disroot.org>
-rw-r--r--ambient.py3
1 files changed, 2 insertions, 1 deletions
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: