Switch this to a DM to keep the chat clean

This commit is contained in:
Luke Robles 2018-06-27 11:47:54 -07:00
parent e899211ee8
commit c02a7e127f

View File

@ -345,10 +345,14 @@ async def on_message(message):
if message.content.startswith('!tts'):
if message.content.split()[1] == 'langs':
return await client.send_message(
await client.send_message(
message.channel,
"Ok {}, check your DMs".format(message.author.mention)
)
return await client.send_message(
message.author,
tts.get_all_langs()
)
)
await client.send_file(
message.channel,
tts.text_to_speech(message.content),