diff --git a/src/dc/handlers.py b/src/dc/handlers.py index 0fff4c3..12adf6b 100644 --- a/src/dc/handlers.py +++ b/src/dc/handlers.py @@ -139,7 +139,8 @@ async def _update_next_loop(voice_channel: discord.VoiceChannel): await voice_channel.set_status(status_text, reason="Next stop status") if config.announcements.voice_announcements: - await voice_announcer(next_stop_str, voice_channel) + if len(voice_channel.members) > 0: + await voice_announcer(next_stop_str, voice_channel) wait_seconds = (next_stop["arrival"] - datetime.now(LOCAL_TZ)).total_seconds() if wait_seconds > 0: