Rename function

This commit is contained in:
insert username here 2023-06-21 16:44:34 -04:00 committed by GitHub
parent 0a7400e14a
commit 5dc414ed9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,7 +52,7 @@ async def transcribesphinx(inter: disnake.ApplicationCommandInteraction, message
await inter.edit_original_message(content=f'an error appears to have occoured please report it to the developer: {e}')
@bot.message_command(name="Transcribe Using DeepSpeech")
async def transcribesphinx(inter: disnake.ApplicationCommandInteraction, message: disnake.Message):
async def transcribedeepspeech(inter: disnake.ApplicationCommandInteraction, message: disnake.Message):
try:
await inter.response.defer(ephemeral='true')
await message.attachments[0].save("audio.ogg")