diff options
| author | czjstmax <jstmaxlol@disroot.org> | 2026-02-15 16:40:11 +0100 |
|---|---|---|
| committer | czjstmax <jstmaxlol@disroot.org> | 2026-02-15 16:40:11 +0100 |
| commit | af7925bec7ef147f64b08f561a04325cb2bd7a0a (patch) | |
| tree | ed33553c5c90fcd64d94951c17b1ceefd46c4d62 | |
| parent | e1683b6f1cfc97ae9083edd0a4ec6f7a22a7f53a (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.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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: |