diff options
| author | czjstmax <jstmaxlol@disroot.org> | 2026-01-21 17:14:11 +0100 |
|---|---|---|
| committer | czjstmax <jstmaxlol@disroot.org> | 2026-01-21 17:14:11 +0100 |
| commit | 6436562e5a3d121ddad9f96233c6df5b3a2279b0 (patch) | |
| tree | bbcba9d8121ef8f6b1131ca365d1a1f5ddbb5f3f /ambient.py | |
| parent | cbf23e4af8b3ac62597dd698a843905cb73328a6 (diff) | |
better 2/2
Signed-off-by: czjstmax <jstmaxlol@disroot.org>
Diffstat (limited to 'ambient.py')
| -rw-r--r-- | ambient.py | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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() |