update response on empty request

- use an empty request as an opportunity to introduce youself
This commit is contained in:
Michael Yang committed 2023-08-04 21:42:44 -07:00
1 parent 715e866430
commit 0d4f5792de
1 file changed
+1 -2
+1 -2
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