From 6436562e5a3d121ddad9f96233c6df5b3a2279b0 Mon Sep 17 00:00:00 2001 From: czjstmax Date: Wed, 21 Jan 2026 17:14:11 +0100 Subject: better 2/2 Signed-off-by: czjstmax --- ambient.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'ambient.py') diff --git a/ambient.py b/ambient.py index 26f5e50..032ecdd 100644 --- a/ambient.py +++ b/ambient.py @@ -74,8 +74,11 @@ async def start(ctx): else: vc = await channel.connect() - # self-deafen (anti-spy vibes) - await vc.edit(deafen=True) + await ctx.guild.change_voice_state( + channel=vc.channel, + self_deaf=True + ) + if not playlist_urls: load_playlist() -- cgit v1.3.1