Upload the text to sppech files as the authors name
This commit is contained in:
parent
45d5c4db6f
commit
9f1c15b646
@ -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')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user