Compare commits

...

6 commits

Author SHA1 Message Date
e02852fb45 Merge remote-tracking branch 'origin/main' into Model-loading-test 2025-05-14 21:00:15 -04:00
530405a905 Added features #8 and #31 (#32)
Third time and hopefully last. Tryin to clean up main branch

Reviewed-on: #32
2025-05-14 16:06:07 -04:00
490ab742f1 Profile picture Example
Shows how to load a profile picture on to the Bot
2025-05-14 15:23:28 -04:00
d6a7a4dbe7 Ref image for typing feature
just a reference image for typing feature
2025-05-14 11:07:50 -04:00
c09f1564a0 Merge pull request 'Further thesting for #27 but still not working. May move on to a different feature set.' (#29) from Model-loading-test into main
Reviewed-on: #29
2025-05-14 00:03:16 -04:00
ea206a1d7f Merge pull request 'Model-loading-test' (#28) from Model-loading-test into main
Reviewed-on: #28
2025-05-13 22:49:00 -04:00
3 changed files with 4 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 KiB

View file

@ -102,6 +102,10 @@ async def on_message(message):
async with message.channel.typing(): async with message.channel.typing():
reply = get_ai_response(prompt, context=formatted_context) reply = get_ai_response(prompt, context=formatted_context)
await message.channel.send(reply) 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) await bot.process_commands(message)