Commit Graph

27 Commits

Author SHA1 Message Date
GooeyTuxedo
406660b5de Containerize bot and server in one stack. 2023-04-11 19:29:41 -07:00
Raven Scott
19107543e9 update readme 2023-04-11 23:47:21 +02:00
Raven Scott
a6117c729c update readme 2023-04-11 23:46:58 +02:00
Raven Scott
1a11d281ec fixing duplicate message bug 2023-04-11 17:38:47 +02:00
Raven Scott
7d68f426d0 fixing duplicate message bug 2023-04-11 16:36:15 +02:00
Raven Scott
d90ceab967 Moving ChannelID list to .env, Parsing array instead of checking both vars 2023-04-11 14:50:19 +02:00
Raven Scott
8eb1b34d4e rand 2023-04-10 19:00:21 +02:00
Raven Scott
56e4725052 rand 2023-04-10 19:00:03 +02:00
Raven Scott
f92eda644e update readme 2023-04-10 05:34:15 +02:00
Raven Scott
74ca7e80b3 update readme 2023-04-10 05:33:34 +02:00
Raven Scott
2f0f9a76f2 add readme 2023-04-10 05:32:13 +02:00
Raven Scott
2aa337997f fix again 2023-04-10 05:18:15 +02:00
Raven Scott
632ab64b71 fix 2023-04-10 05:11:36 +02:00
Raven Scott
fd92269e3c make pretty 2023-04-10 04:38:38 +02:00
Raven Scott
40e865521d Adding busy state tracker to the setPrecence activty for the bot allowing users to know when the bot is busy 2023-04-10 04:12:42 +02:00
Raven Scott
b1087d554b Create sendRand and sendRandDM to handle message events 2023-04-10 03:50:45 +02:00
Raven Scott
999a554661 moving busy state global so users cant spawn overrun processes 2023-04-10 03:28:41 +02:00
Raven Scott
c14635769d feat: Add error handling for empty response in chatbot conversation
This commit adds a new block of code to handle cases where the chatbot generates an empty response, which was previously causing a delay of one message in the conversation. The new code selects a random message from a predefined list of human-like responses to notify the user that an error has occurred, then resets the conversation history and deletes the memory map for that user. This ensures that subsequent messages from the same user will not be delayed due to the empty response.
2023-04-10 02:53:37 +02:00
Raven Scott
27d8ad1f78 rand 2023-04-10 02:42:58 +02:00
Raven Scott
8b24a80279 moving vars to env updating default env 2023-04-10 02:19:50 +02:00
Raven Scott
0953663059 Adding in more responses for when users refresh manually 2023-04-10 02:10:02 +02:00
Raven Scott
da270f2f60 changing the chat pre content 2023-04-10 02:00:51 +02:00
Raven Scott
451205cb7d made it pretty 2023-04-10 01:49:51 +02:00
Raven Scott
875ab7fdd2 giving errors and responses a more human feel. 2023-04-10 01:45:06 +02:00
Raven Scott
d90e8e4430 some random stuff and prompt changes 2023-04-10 01:10:48 +02:00
Raven Scott
5ac35ca6a5 update 2023-04-09 18:31:48 +02:00
Raven Scott
87802ccfc9 first 2023-04-09 18:07:32 +02:00