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 45d5c4db6f
commit 9f1c15b646

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')