Commit graph

17 commits

Author SHA1 Message Date
c7b36885a3 Fix overflow of the reply of 2000 character
now it will send more than one message if it gets overflown
fixes #6
2023-07-28 09:22:47 +02:00
a0cad7a348 fix and flip empty reply check of the model 2023-07-28 09:12:59 +02:00
f9097ae68d Make error of the execution more verbose to the user 2023-07-25 04:16:59 +02:00
c03d329c3d Fix unnecessary not, breaking entire bot 2023-07-24 03:52:37 +02:00
6673d3c294 Fix crash when replying to request where bot cannot reply 2023-07-24 03:07:24 +02:00
13d8f73356 Fix crash on reaction blocked
should fix #7
2023-07-23 06:28:56 +02:00
31097e03ce Add newline for limit reached message 2023-07-23 06:28:24 +02:00
0df05e2f06 Add function handling for OpenAI model
for now it's querying only time, but in the future there will be more commands
2023-07-23 05:50:16 +02:00
312f22827e add getNthUseInLimitTimestamp
will be used in a command that check the user limit
2023-05-10 03:03:10 +02:00
c1b165024d export getUserLimit
will be used in a command that check the user limit
2023-05-10 03:02:49 +02:00
56a0e686b0 fully prepare execution for interactions 2023-05-08 08:51:30 +02:00
f6ac5281e7 Prepare more execution.ts for interactions 2023-05-08 08:50:23 +02:00
cb2ae4d4f2 Fix always false if statement 2023-05-08 07:12:08 +02:00
965e0a2602 Remove unneeded type assertion of an empty array. 2023-05-08 02:43:36 +02:00
d2925a3aa9 Create dm channel when sending message in dm channel
if there is no dm channel
2023-05-08 02:42:58 +02:00
47e7c107c1 Add handling for interactions in execution.ts
this in future will be used to handle interaction requests.
2023-05-08 02:40:24 +02:00
cb304f522b Refactor the main bot execution out of index.js 2023-05-08 01:30:32 +02:00