From 383dd768482a19dbb03ee6e17bab6e75df4a8451 Mon Sep 17 00:00:00 2001 From: czjstmax Date: Sun, 15 Feb 2026 13:09:24 +0100 Subject: added `:vol ?` for usage on `:vol` Signed-off-by: czjstmax --- ambient.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ambient.py b/ambient.py index 7dfce81..3bf28ca 100644 --- a/ambient.py +++ b/ambient.py @@ -8,7 +8,7 @@ import random TOKEN = "" PLAYLIST_URL = "https://www.youtube.com/playlist?list=PLuI-iSzcTZFUfVlc9OoZL5LbubQ_T_st9" -volume = 0.16 +volume = 0.1 intents = discord.Intents.default() intents.message_content = True @@ -106,6 +106,9 @@ async def stop(ctx): 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%` ~~!"); + try: if vol.endswith('%'): vol = vol[:-1] -- cgit v1.3.1