From c02a7e127f51a9243986f1deb6d60f9634133857 Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Wed, 27 Jun 2018 11:47:54 -0700 Subject: [PATCH] Switch this to a DM to keep the chat clean --- app/dragon-bot.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/dragon-bot.py b/app/dragon-bot.py index 2860239b..16fcb125 100644 --- a/app/dragon-bot.py +++ b/app/dragon-bot.py @@ -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),