aboutsummaryrefslogtreecommitdiff
path: root/ambient.py
diff options
context:
space:
mode:
authorczjstmax <jstmaxlol@disroot.org>2026-02-15 13:18:03 +0100
committerczjstmax <jstmaxlol@disroot.org>2026-02-15 13:18:03 +0100
commite1683b6f1cfc97ae9083edd0a4ec6f7a22a7f53a (patch)
treef159c800be415a665de20cb027299c4ec7c5445e /ambient.py
parent383dd768482a19dbb03ee6e17bab6e75df4a8451 (diff)
fixes
Signed-off-by: czjstmax <jstmaxlol@disroot.org>
Diffstat (limited to 'ambient.py')
-rw-r--r--ambient.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ambient.py b/ambient.py
index 3bf28ca..090cfe7 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 == "?":
- ctx.send(f"♥ to set the volume just type `:vol 50%` ~~!");
+ await ctx.send(f"♥ to set the volume just type `:vol 50%` ~~!");
+ return 1
try:
if vol.endswith('%'):