Commit Graph

70 Commits

Author SHA1 Message Date
Logan Cusano
2551498d2e update npx -> npm
Some checks failed
Update Wiki from JSDoc / update-wiki (pull_request) Failing after 10s
Lint JavaScript/Node.js / lint-js (pull_request) Failing after 11s
DRB Tests / drb_mocha_tests (pull_request) Successful in 29s
2024-08-17 19:07:23 -04:00
Logan Cusano
277f7d176a Update docs to work
Some checks failed
Update Wiki from JSDoc / update-wiki (pull_request) Has been cancelled
Lint JavaScript/Node.js / lint-js (pull_request) Has been cancelled
DRB Tests / drb_mocha_tests (pull_request) Has been cancelled
2024-08-17 19:05:38 -04:00
Logan Cusano
066404dd10 Updated dir structure to put the actual source code in the general /src dir
Some checks failed
Update Wiki from JSDoc / update-wiki (pull_request) Has been cancelled
Lint JavaScript/Node.js / lint-js (pull_request) Failing after 11s
DRB Tests / drb_mocha_tests (pull_request) Has been cancelled
2024-08-17 18:44:18 -04:00
Logan Cusano
8f2891f5d8 Update docs to use npm script for consistency 2024-08-17 18:43:39 -04:00
Logan Cusano
9f2ed48caf Added better docs
Some checks failed
Lint JavaScript/Node.js / lint-js (pull_request) Failing after 14s
DRB Tests / drb_mocha_tests (pull_request) Successful in 34s
Update Wiki from JSDoc / update-wiki (pull_request) Successful in 15s
2024-08-17 18:11:38 -04:00
Logan Cusano
3f42d60efc Add docs to ignored file for this repo 2024-08-17 18:11:14 -04:00
Logan Cusano
cf9f48dfa7 Fix jsdoc bug
Some checks failed
Update Wiki from JSDoc / update-wiki (pull_request) Failing after 10s
Lint JavaScript/Node.js / lint-js (pull_request) Failing after 10s
DRB Tests / drb_mocha_tests (pull_request) Successful in 25s
- Was importing class within the jsdoc
2024-08-17 17:56:25 -04:00
Logan Cusano
bde7dbce45 add pr to docs for testing
Some checks failed
Update Wiki from JSDoc / update-wiki (pull_request) Failing after 10s
Lint JavaScript/Node.js / lint-js (pull_request) Successful in 11s
DRB Tests / drb_mocha_tests (pull_request) Successful in 25s
2024-08-17 17:53:32 -04:00
Logan Cusano
a8e96ab5dc Update JSDoc config
Some checks failed
release-tag / release-image (push) Successful in 1m57s
Update Wiki from JSDoc / update-wiki (push) Failing after 10s
Lint JavaScript/Node.js / lint-js (push) Successful in 10s
DRB Tests / drb_mocha_tests (push) Successful in 25s
2024-08-17 17:51:18 -04:00
Logan Cusano
628fd80710 Update lint and tests to run on PRs 2024-08-17 17:49:12 -04:00
Logan Cusano
edb7ec41b1 Add draft doc generator
Some checks failed
release-tag / release-image (push) Successful in 2m0s
Update Wiki from JSDoc / update-wiki (push) Failing after 10s
Lint JavaScript/Node.js / lint-js (push) Successful in 10s
DRB Tests / drb_mocha_tests (push) Successful in 25s
2024-08-17 17:46:34 -04:00
Logan Cusano
0be5b059da #19 fix guild specific configs
All checks were successful
release-tag / release-image (push) Successful in 2m24s
Lint JavaScript/Node.js / lint-js (push) Successful in 12s
DRB Tests / drb_mocha_tests (push) Successful in 34s
- Fixed the guild key
- forced guild ID to be a number
2024-08-17 17:35:20 -04:00
Logan Cusano
46989942d8 Updated linting config #21
- Now works
- Ran linting on the repo
2024-08-17 17:02:05 -04:00
Logan Cusano
ab929489b0 Attempt to improve linting
All checks were successful
release-tag / release-image (push) Successful in 2m16s
Lint JavaScript/Node.js / lint-js (push) Successful in 10s
DRB Tests / drb_mocha_tests (push) Successful in 28s
- Trying to get auto linting to work; Doesn't seem to work
2024-08-11 20:31:44 -04:00
Logan Cusano
cf49ac414a Linting 2024-08-11 20:14:36 -04:00
Logan Cusano
94374b4d45 Implement Dynamic Presence #19
## Added Dynamic Presence to Functions
- Added default to startup
- Added to RSS manager
- Added to interaction create event
- Added to message create function

## Related Work #15
### LinkCop
- Updated with new regex string and logic approved and restricted channels
- Implemented new config storage
### Guild Member Add (event)
- Implemented new config storage for welcome channel
### Message Create (event)
- Implemented new config storage for ignored channel IDs
- Improved the logic for gpt interactions to reset presence
### Mongo Config Wrappers
- Updated logic in order to handle different data types the same way
- Updated set functions to wrap the value in the key
- Updated get functions to return the keyyed value ie `config[key]`
2024-08-11 20:13:57 -04:00
Logan Cusano
d18ffd4c11 Update Presence Manager #15
- Added convert functions to convert strings to activities and statuses
- Updated status and activity to use the discord.js consts from convert functions
- Reset default will get and use the default presence from the DB
- Reset default will set default presence in DB if not set
- Reset default will now use the same `this.setPresence()` function to limit variation
2024-08-11 18:41:42 -04:00
Logan Cusano
a56c19a466 Added mongo wrapper for configs #19
- Can handle discord guid specific configs and global configs
2024-08-11 18:38:21 -04:00
Logan Cusano
f4886f9fc5 Improve Mongo Handler
- Added delete/update/get with multiple fields
- Updated single field handlers to use multi field handlers to limit variation
- Added upsert function to wrap the update function with `upsert: true`
2024-08-11 18:34:55 -04:00
Logan Cusano
e324ee1738 Update build action versions 2024-08-11 16:04:25 -04:00
Logan Cusano
117cbea67f Linting
All checks were successful
release-tag / release-image (push) Successful in 1m52s
Lint JavaScript/Node.js / lint-js (push) Successful in 11s
DRB Tests / drb_mocha_tests (push) Successful in 29s
2024-08-11 15:57:46 -04:00
Logan Cusano
5cd47378d6 Update depens 2024-08-11 15:54:10 -04:00
Logan Cusano
7e502eee7f Update eslint config to flat config 2024-08-11 15:52:06 -04:00
Logan Cusano
6fbec1f7e2 Update eslint to flat config
Some checks failed
release-tag / release-image (push) Successful in 1m52s
Lint JavaScript/Node.js / lint-js (push) Failing after 9s
DRB Tests / drb_mocha_tests (push) Successful in 25s
2024-08-11 14:14:38 -04:00
Logan Cusano
a4da1fac1c Update lint config
Some checks failed
release-tag / release-image (push) Successful in 1m58s
Lint JavaScript/Node.js / lint-js (push) Failing after 10s
DRB Tests / drb_mocha_tests (push) Successful in 28s
2024-08-11 14:05:44 -04:00
Logan Cusano
64e1598a75 Update linting
Some checks failed
release-tag / release-image (push) Successful in 1m54s
Lint JavaScript/Node.js / lint-js (push) Failing after 9s
DRB Tests / drb_mocha_tests (push) Successful in 28s
- Added eslint config
- Added plugins for eslint and updated package.json
2024-08-11 14:02:30 -04:00
Logan Cusano
f6919e23bb Update CLI args for eslint
Some checks failed
release-tag / release-image (push) Successful in 2m0s
Lint JavaScript/Node.js / lint-js (push) Failing after 11s
DRB Tests / drb_mocha_tests (push) Successful in 28s
2024-08-11 13:56:40 -04:00
Logan Cusano
39bb2fd2b6 Update linting
Some checks failed
release-tag / release-image (push) Successful in 1m54s
Lint JavaScript/Node.js / lint-js (push) Failing after 16s
DRB Tests / drb_mocha_tests (push) Successful in 25s
- Update build step version
- Install lint with dev depens
2024-08-11 13:51:20 -04:00
Logan Cusano
8eee33271a Update naming convention for CI actions 2024-08-11 13:45:39 -04:00
Logan Cusano
b9bd732e6c Remove Python from this repo and add Node test
Some checks failed
Lint JavaScript/Node.js / lint-js (push) Failing after 40s
release-tag / release-image (push) Successful in 1m45s
DRB Tests / drb_mocha_tests (push) Successful in 25s
2024-08-11 13:44:32 -04:00
Logan Cusano
49ef84d01b Implement Linting for Python
All checks were successful
Lint Python / lint-python (push) Successful in 14s
release-tag / release-image (push) Successful in 1m43s
DRB Tests / drb_mocha_tests (push) Successful in 24s
2024-08-11 13:26:35 -04:00
Logan Cusano
1c47b1141a Update makefile with new env vars
All checks were successful
release-tag / release-image (push) Successful in 1m54s
DRB Tests / drb_mocha_tests (push) Successful in 26s
2024-08-10 17:12:24 -04:00
Logan Cusano
450b7d3219 Update logging
All checks were successful
release-tag / release-image (push) Successful in 1m45s
DRB Tests / drb_mocha_tests (push) Successful in 36s
2024-08-04 16:31:29 -04:00
Logan Cusano
aac86d5d71 Update new guildmember action
All checks were successful
release-tag / release-image (push) Successful in 2m30s
DRB Tests / drb_mocha_tests (push) Successful in 28s
2024-08-04 16:02:49 -04:00
Logan Cusano
a7d1f4e6b4 Handle join auto complete error and update formatting 2024-08-04 16:01:59 -04:00
Logan Cusano
b51300d878 Improved joining and leaving
All checks were successful
DRB Tests / drb_mocha_tests (push) Successful in 1m5s
release-tag / release-image (push) Successful in 2m6s
- Added wrappers
- Improved readability of command code
2024-07-14 19:26:17 -04:00
Logan Cusano
f29459aadb Added new connections command for debug
Some checks failed
DRB Tests / drb_mocha_tests (push) Failing after 35s
release-tag / release-image (push) Failing after 35s
2024-07-14 16:50:48 -04:00
Logan Cusano
2cd5eee940 Implement OpenAI Assistant API
- Updated linkCop
- Updated standard interaction handler
2024-07-14 15:47:46 -04:00
Logan Cusano
24296c2ae4 Update the prompt with the proper discord tag for the member ID
All checks were successful
release-tag / release-image (push) Successful in 3m3s
DRB Tests / drb_mocha_tests (push) Successful in 1m6s
2024-06-06 23:01:08 -04:00
Logan Cusano
db065c3ef0 Add a new event for server client joining new guild/server #1 2024-06-02 19:39:38 -04:00
Logan Cusano
697025ec1e Updated environment var names to match convention
All checks were successful
release-tag / release-image (push) Successful in 4m25s
DRB Tests / drb_mocha_tests (push) Successful in 32s
2024-06-02 19:35:01 -04:00
Logan Cusano
3350b9f191 Added new event for new member joining #18
- When a new member joins the server, GPT integration will welcome them
2024-06-02 19:34:41 -04:00
Logan Cusano
961a7cc2bd Implement early AI integration #18
All checks were successful
release-tag / release-image (push) Successful in 4m19s
DRB Tests / drb_mocha_tests (push) Successful in 1m16s
- Added new event to catch messageCreate events
- @ messages to the server will use ChatGPT to respond to the message with an indepth prompt about the server
- Implement module to interact with chatGPT repeatably
- Add linkcop with GPT integration #12
- Added environment variable for inital prompt for GPT integration
2024-06-02 19:16:01 -04:00
Logan Cusano
2c3cc18474 Update dependencies and add openai 2024-06-02 19:10:29 -04:00
Logan Cusano
424d5ae749 #16 Fix bug in rss remove
All checks were successful
release-tag / release-image (push) Successful in 4m5s
DRB Tests / drb_mocha_tests (push) Successful in 43s
- A dependency of remove was missing the log object
- Updated discord output for all RSS commands
2024-05-26 22:42:54 -04:00
Logan Cusano
5c86185ef5 Update port in dockerfile
All checks were successful
release-tag / release-image (push) Successful in 3m42s
DRB Tests / drb_mocha_tests (push) Successful in 55s
2024-05-26 21:45:08 -04:00
Logan Cusano
e6de0f4453 Undo repo change
All checks were successful
release-tag / release-image (push) Successful in 4m24s
DRB Tests / drb_mocha_tests (push) Successful in 36s
- Does not add to the repo, changes the name
2024-05-26 21:30:47 -04:00
Logan Cusano
e8cfca1d8d Update build action
All checks were successful
release-tag / release-image (push) Successful in 5m15s
DRB Tests / drb_mocha_tests (push) Successful in 1m0s
- Attempt to place the package in the repo instead of my profile
2024-05-26 21:23:19 -04:00
Logan Cusano
dce0086fdb Update build action
All checks were successful
release-tag / release-image (push) Successful in 4m52s
DRB Tests / drb_mocha_tests (push) Successful in 41s
- Update repo name with proper vars
2024-05-26 21:12:57 -04:00
Logan Cusano
ad45d8f0ea Update repo name
Some checks failed
DRB Tests / drb_mocha_tests (push) Successful in 49s
release-tag / release-image (push) Failing after 4m1s
2024-05-26 20:49:32 -04:00