GPTcord/src
Wroclaw 6141dffa68 Defer responding to a message request
Previously if two message requests appered in a short timespan
in the same channel, the bot would reply twice (in two messages)
for the first message.

This commit fixes that, by queuing message requests and responding
to them in the chronological order based on a channelId.
(requests are queued to a queue identified by channelId)

fixes #4
2023-03-25 11:24:43 +01:00
..
config_example.ts add limits related to current messages to config 2023-03-24 16:47:26 +01:00
index.ts Defer responding to a message request 2023-03-25 11:24:43 +01:00
moderation.ts Log more more information on error (origin, type) 2023-03-22 06:40:16 +01:00
tokenCounter.ts Limit sent chat to 2048 tokens. 2023-03-19 09:11:37 +01:00
toOpenAIMessages.ts add limits related to current messages to config 2023-03-24 16:47:26 +01:00