Minor logging improvement
This commit is contained in:
3
main.py
3
main.py
@@ -41,8 +41,9 @@ def main(clientId='OTQzNzQyMDQwMjU1MTE1MzA0.Yg3eRA.ZxEbRr55xahjfaUmPY8pmS-RHTY',
|
|||||||
await load_opus()
|
await load_opus()
|
||||||
|
|
||||||
if opus.is_loaded():
|
if opus.is_loaded():
|
||||||
|
print("Joining voice")
|
||||||
channelConnection = await channelIdToJoin.connect(timeout=60.0, reconnect=True)
|
channelConnection = await channelIdToJoin.connect(timeout=60.0, reconnect=True)
|
||||||
print("Joined voice")
|
print("Voice Connected")
|
||||||
streamHandler = NoiseGate(
|
streamHandler = NoiseGate(
|
||||||
_input_device_index=deviceId,
|
_input_device_index=deviceId,
|
||||||
_voice_connection=channelConnection,
|
_voice_connection=channelConnection,
|
||||||
|
|||||||
Reference in New Issue
Block a user