Add commandManager and the first slash command
the command allows for summining the bot without sending an actual mention message that might hang in the chat log sent to openAi, consuming tokens
This commit is contained in:
parent
56a0e686b0
commit
8b4b35454b
6 changed files with 124 additions and 2 deletions
|
@ -14,10 +14,12 @@
|
|||
"discord.js": "^14.8.0",
|
||||
"fold-to-ascii": "^5.0.1",
|
||||
"gpt-3-encoder": "^1.1.4",
|
||||
"openai": "^3.2.1"
|
||||
"openai": "^3.2.1",
|
||||
"require-directory": "^2.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/fold-to-ascii": "^5.0.0",
|
||||
"@types/require-directory": "^2.1.2",
|
||||
"@typescript-eslint/eslint-plugin": "^5.55.0",
|
||||
"@typescript-eslint/parser": "^5.55.0",
|
||||
"eslint": "^8.36.0",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue