From 9e0bb1e5fd8d9eba421bce72d9cebd533e7ba344 Mon Sep 17 00:00:00 2001 From: insert-usernamehere Date: Sat, 15 Apr 2023 10:11:05 -0400 Subject: [PATCH] fix message sending effect --- transcribebot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transcribebot.py b/transcribebot.py index c587a1f..28edbc2 100644 --- a/transcribebot.py +++ b/transcribebot.py @@ -20,7 +20,7 @@ async def transcribe(inter: disnake.ApplicationCommandInteraction, message: disn convertemessage = sr.AudioFile("audio.wav") with convertemessage as sounds: transcribeaudo = st.record(sounds) - await inter.response.send_message(st.recognize_sphinx(transcribeaudo), file=disnake.File("audio.mp3")) + await inter.response.send_message(st.recognize_sphinx(transcribeaudo), file=disnake.File("audio.wav")) os.remove("audio.ogg") os.remove("audio.wav")