update response on empty request

- use an empty request as an opportunity to introduce youself
pull/3/head
Michael Yang 2023-08-04 18:04:28 -07:00
parent 715e866430
commit 0d4f5792de
1 changed files with 1 additions and 2 deletions

View File

@ -73,8 +73,7 @@ async def on_message(message):
if client.user.id in message.raw_mentions:
raw_content = message.content.replace(f'<@{client.user.id}>', '').strip()
if raw_content.strip() == '':
await message.channel.send('What can I do for you?', reference=message)
return
raw_content = 'Tell me about yourself.'
# TODO: discord has a 2000 character limit, so we need to split the response
response = None