gotta defer
This commit is contained in:
parent
a43233c7c6
commit
88b1268483
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ bot = commands.Bot(command_prefix='.')
|
|||
|
||||
@bot.message_command(name="Transcrible")
|
||||
async def transcribe(inter: disnake.ApplicationCommandInteraction, message: disnake.Message):
|
||||
await inter.response.defer()
|
||||
# Reversing the message and sending it back.
|
||||
await message.attachments[0].save("audio.ogg")
|
||||
mp3file = AudioSegment.from_ogg("audio.ogg")
|
||||
|
|
Loading…
Reference in a new issue