update response on empty request
- use an empty request as an opportunity to introduce youselfpull/3/head
parent
715e866430
commit
0d4f5792de
|
@ -73,8 +73,7 @@ async def on_message(message):
|
||||||
if client.user.id in message.raw_mentions:
|
if client.user.id in message.raw_mentions:
|
||||||
raw_content = message.content.replace(f'<@{client.user.id}>', '').strip()
|
raw_content = message.content.replace(f'<@{client.user.id}>', '').strip()
|
||||||
if raw_content.strip() == '':
|
if raw_content.strip() == '':
|
||||||
await message.channel.send('What can I do for you?', reference=message)
|
raw_content = 'Tell me about yourself.'
|
||||||
return
|
|
||||||
|
|
||||||
# TODO: discord has a 2000 character limit, so we need to split the response
|
# TODO: discord has a 2000 character limit, so we need to split the response
|
||||||
response = None
|
response = None
|
||||||
|
|
Loading…
Reference in New Issue