Delete the message before uploading the response

This commit is contained in:
Luke Robles 2018-05-04 18:28:47 -07:00
parent 88dbc22f7a
commit b81fe9c791

View File

@ -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),