Delete the message before uploading the response
This commit is contained in:
parent
88dbc22f7a
commit
b81fe9c791
@ -313,6 +313,7 @@ async def on_message(message):
|
||||
)
|
||||
|
||||
if message.content.startswith('!tts'):
|
||||
await client.delete_message(message)
|
||||
await client.send_file(
|
||||
message.channel,
|
||||
tts.text_to_speech(message.content),
|
||||
|
Loading…
x
Reference in New Issue
Block a user