Upload the text to sppech files as the authors name

This commit is contained in:
Luke Robles 2018-04-20 20:20:16 -07:00
parent 82bfe23747
commit b1c500eb76

View File

@ -316,6 +316,7 @@ async def on_message(message):
await client.send_file(
message.channel,
tts.text_to_speech(message.content),
filename="A Message From {}.mp3".format(message.author.name)
)
os.remove('/tmp/memes.mp3')