Switch this to a DM to keep the chat clean
This commit is contained in:
parent
e899211ee8
commit
c02a7e127f
@ -345,8 +345,12 @@ 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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user