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: 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