diff --git a/transcribebot.py b/transcribebot.py index 24b9eec..2dd2cf0 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.edit_original_message(st.recognize_sphinx(transcribeaudo)) + await inter.edit_original_message(content=st.recognize_sphinx(transcribeaudo)) os.remove("audio.ogg") os.remove("audio.wav")