New logging system #10

Merged
logan merged 36 commits from V3_Better_Logging into master 2022-04-01 00:02:09 -04:00
Showing only changes of commit cbeb90a0f4 - Show all commits

View File

@@ -167,9 +167,6 @@ class NoiseGateStream(discord.AudioSource):
LOGGER.debug(f"Frames in fadeout remaining: {self.NG_fadeout_count}")
self.process_set_count += 1
if curr_buffer:
if self.NG_fadeout_count == 0:
voice_connection.stop()
LOGGER.debug(f"Fadeout concluded, stopping voice")
return bytes(curr_buffer)
except OSError as e: