aboutsummaryrefslogtreecommitdiff
path: root/ambient.py
diff options
context:
space:
mode:
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('%'):