diff --git a/docs/images/discordtypingref.jpg b/docs/images/discordtypingref.jpg new file mode 100644 index 0000000..190091d Binary files /dev/null and b/docs/images/discordtypingref.jpg differ diff --git a/docs/images/setavatarExample.png b/docs/images/setavatarExample.png new file mode 100644 index 0000000..6370d94 Binary files /dev/null and b/docs/images/setavatarExample.png differ diff --git a/src/bot.py b/src/bot.py index 11540c9..cd8b69f 100644 --- a/src/bot.py +++ b/src/bot.py @@ -102,6 +102,10 @@ async def on_message(message): async with message.channel.typing(): reply = get_ai_response(prompt, context=formatted_context) await message.channel.send(reply) + if prompt: + async with message.channel.typing(): # 👈 Typing indicator! + response = get_ai_response(prompt) + await message.channel.send(response) await bot.process_commands(message)