mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-18 00:31:00 -05:00
Compare commits
10 Commits
e8bb291ffb
...
0a78dae4fb
Author | SHA1 | Date | |
---|---|---|---|
|
0a78dae4fb | ||
|
c28fa6234f | ||
|
2c22008957 | ||
|
49786315d8 | ||
|
5fd3cf89ce | ||
|
eb776c0f5a | ||
|
130c499bfc | ||
|
a7802e5e78 | ||
|
393df911c4 | ||
|
d3a5917bb9 |
2
.github/dependabot.yml
vendored
2
.github/dependabot.yml
vendored
@ -19,8 +19,6 @@ updates:
|
|||||||
timezone: "Australia/NSW"
|
timezone: "Australia/NSW"
|
||||||
assignees:
|
assignees:
|
||||||
- "toast-ts"
|
- "toast-ts"
|
||||||
reviewers:
|
|
||||||
- "toast-ts"
|
|
||||||
labels:
|
labels:
|
||||||
- "dependencies"
|
- "dependencies"
|
||||||
open-pull-requests-limit: 8
|
open-pull-requests-limit: 8
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
bot:
|
bot:
|
||||||
container_name: daggerbot-prod
|
container_name: daggerbot
|
||||||
build: .
|
build: .
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -1,21 +1,19 @@
|
|||||||
services:
|
services:
|
||||||
cache:
|
cache:
|
||||||
container_name: redis-cache
|
container_name: daggerbot-redis
|
||||||
image: redis/redis-stack-server:7.2.0-v6
|
image: redis/redis-stack-server:7.2.0-v9
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 6379:6379/tcp
|
- 6379:6379/tcp
|
||||||
db:
|
db:
|
||||||
container_name: postgres-master
|
container_name: daggerbot-postgres
|
||||||
image: postgres:16.2-alpine3.19
|
image: postgres:16.2-alpine3.19
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432/tcp
|
- 5432:5432/tcp
|
||||||
volumes:
|
volumes:
|
||||||
- /var/lib/docker/volumes/daggerbot-db:/var/lib/postgresql/data:rw
|
- /var/lib/docker/volumes/daggerbot-db:/var/lib/postgresql/data:rw
|
||||||
- ./postgres-replica-stuff/configs/postgres-hba.conf:/var/lib/postgresql/data/pg_hba.conf:rw
|
|
||||||
- ./postgres-replica-stuff/configs/postgres.conf:/var/lib/postgresql/data/postgresql.conf:rw
|
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: ${POSTGRES_USER}
|
#POSTGRES_USER: ${POSTGRES_USER}
|
||||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||||
POSTGRES_DB: ${POSTGRES_DB}
|
POSTGRES_DB: ${POSTGRES_DB}
|
||||||
|
12
package.json
12
package.json
@ -29,8 +29,8 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@napi-rs/canvas": "0.1.51",
|
"@napi-rs/canvas": "0.1.51",
|
||||||
"@octokit/rest": "20.0.2",
|
"@octokit/rest": "20.0.2",
|
||||||
"@sequelize/core": "7.0.0-alpha.37",
|
"@sequelize/core": "7.0.0-alpha.38",
|
||||||
"@toast/tokenservice-client": "1.0.16",
|
"@toast/tokenservice-client": "1.1.2",
|
||||||
"ansi-colors": "4.1.3",
|
"ansi-colors": "4.1.3",
|
||||||
"dayjs": "1.11.10",
|
"dayjs": "1.11.10",
|
||||||
"discord.js": "14.14.1",
|
"discord.js": "14.14.1",
|
||||||
@ -43,14 +43,14 @@
|
|||||||
"postgres-array": "3.0.2",
|
"postgres-array": "3.0.2",
|
||||||
"redis": "4.6.13",
|
"redis": "4.6.13",
|
||||||
"simple-git": "3.23.0",
|
"simple-git": "3.23.0",
|
||||||
"systeminformation": "5.22.3",
|
"systeminformation": "5.22.6",
|
||||||
"undici": "6.9.0"
|
"undici": "6.9.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/ms": "0.7.34",
|
"@types/ms": "0.7.34",
|
||||||
"@types/node": "20.11.28",
|
"@types/node": "20.11.30",
|
||||||
"@types/node-cron": "3.0.11",
|
"@types/node-cron": "3.0.11",
|
||||||
"@types/pg": "8.11.2",
|
"@types/pg": "8.11.4",
|
||||||
"typescript": "5.4.2"
|
"typescript": "5.4.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -54,14 +54,14 @@ export default class Suggest {
|
|||||||
.setRequired(true)))
|
.setRequired(true)))
|
||||||
.addSubcommand(x=>x
|
.addSubcommand(x=>x
|
||||||
.setName('delete')
|
.setName('delete')
|
||||||
.setDescription('Delete a suggestion (Bot Tech only)')
|
.setDescription('Delete a suggestion (Bot devs only)')
|
||||||
.addIntegerOption(x=>x
|
.addIntegerOption(x=>x
|
||||||
.setName('id')
|
.setName('id')
|
||||||
.setDescription('The ID of the suggestion')
|
.setDescription('The ID of the suggestion')
|
||||||
.setRequired(true)))
|
.setRequired(true)))
|
||||||
.addSubcommand(x=>x
|
.addSubcommand(x=>x
|
||||||
.setName('update')
|
.setName('update')
|
||||||
.setDescription('Update a suggestion (Bot Tech only)')
|
.setDescription('Update a suggestion (Bot devs only)')
|
||||||
.addIntegerOption(x=>x
|
.addIntegerOption(x=>x
|
||||||
.setName('id')
|
.setName('id')
|
||||||
.setDescription('The ID of the suggestion')
|
.setDescription('The ID of the suggestion')
|
||||||
|
@ -42,7 +42,7 @@ export default class Tag {
|
|||||||
.setRequired(false)))
|
.setRequired(false)))
|
||||||
.addSubcommandGroup(x=>x
|
.addSubcommandGroup(x=>x
|
||||||
.setName('tools')
|
.setName('tools')
|
||||||
.setDescription('Management tools for the tags system (Discord mods & Bot Tech only)')
|
.setDescription('Management tools for the tags system (Discord mods & bot devs only)')
|
||||||
.addSubcommand(x=>x
|
.addSubcommand(x=>x
|
||||||
.setName('create')
|
.setName('create')
|
||||||
.setDescription('Create a new tag')
|
.setDescription('Create a new tag')
|
||||||
|
105
yarn.lock
105
yarn.lock
@ -6,11 +6,11 @@ __metadata:
|
|||||||
cacheKey: 10
|
cacheKey: 10
|
||||||
|
|
||||||
"@babel/runtime@npm:^7.24.0":
|
"@babel/runtime@npm:^7.24.0":
|
||||||
version: 7.24.0
|
version: 7.24.1
|
||||||
resolution: "@babel/runtime@npm:7.24.0"
|
resolution: "@babel/runtime@npm:7.24.1"
|
||||||
dependencies:
|
dependencies:
|
||||||
regenerator-runtime: "npm:^0.14.0"
|
regenerator-runtime: "npm:^0.14.0"
|
||||||
checksum: 10/8d32c7e116606ea322b89f9fde8ffae6be9503b549dc0d0abb38bd9dc26e87469b9fb7a66964cc089ee558fd0a97d304fb0a3cfec140694764fb0d71b6a6f5e4
|
checksum: 10/3a8d61400c636d1ce3a42895a106cd4dfb4e9b88832a8a754a724c68652f821d7a46dce394305d7623f9f0d3597bf0a98aeb5f9c150ef60e14bbbf66caab4654
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -454,10 +454,11 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@sequelize/core@npm:7.0.0-alpha.37":
|
"@sequelize/core@npm:7.0.0-alpha.38":
|
||||||
version: 7.0.0-alpha.37
|
version: 7.0.0-alpha.38
|
||||||
resolution: "@sequelize/core@npm:7.0.0-alpha.37"
|
resolution: "@sequelize/core@npm:7.0.0-alpha.38"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
"@sequelize/utils": "npm:7.0.0-alpha.38"
|
||||||
"@types/debug": "npm:^4.1.7"
|
"@types/debug": "npm:^4.1.7"
|
||||||
"@types/validator": "npm:^13.7.5"
|
"@types/validator": "npm:^13.7.5"
|
||||||
bnf-parser: "npm:3.1.6"
|
bnf-parser: "npm:3.1.6"
|
||||||
@ -494,16 +495,26 @@ __metadata:
|
|||||||
optional: true
|
optional: true
|
||||||
tedious:
|
tedious:
|
||||||
optional: true
|
optional: true
|
||||||
checksum: 10/dcaadb079bc5fcc505efbfff18ca8165dae4a24ad9c9f9f99e91474343e27986ceef702a69db0ab5406988b151dfa76f05e536425c08b29e80e10da70bb437fd
|
checksum: 10/e0469c08aa27060e01470bae42e6a3cf8e31d4bec324d763676a839a30a3e58adcb31462a0df49f49a74678746f178068d923fe4981d7cda275b4626999820a4
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@toast/tokenservice-client@npm:1.0.16":
|
"@sequelize/utils@npm:7.0.0-alpha.38":
|
||||||
version: 1.0.16
|
version: 7.0.0-alpha.38
|
||||||
resolution: "@toast/tokenservice-client@npm:1.0.16::__archiveUrl=https%3A%2F%2Fgit.toast-server.net%2Fapi%2Fpackages%2Ftoast%2Fnpm%2F%2540toast%252Ftokenservice-client%2F-%2F1.0.16%2Ftokenservice-client-1.0.16.tgz"
|
resolution: "@sequelize/utils@npm:7.0.0-alpha.38"
|
||||||
dependencies:
|
dependencies:
|
||||||
undici: "npm:6.7.0"
|
"@types/lodash": "npm:4.17.0"
|
||||||
checksum: 10/a946df28f2ba6e36f881f7160bafe0dfe06227520b2a1a8ace729651064103bce92dcfc0d23deb6df845839f380fbdc17af86b1f1ea11ab3cc513c751ec23fb8
|
lodash: "npm:4.17.21"
|
||||||
|
checksum: 10/93eb5eb72c0559bbf658bee613cf3d595cd17548fcedec1564ae3a6442e2a1ad6c4bf7d399e316ab03f7388d9deb6c865648832b3e4e1924150f70ccd5f765a6
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
|
"@toast/tokenservice-client@npm:1.1.2":
|
||||||
|
version: 1.1.2
|
||||||
|
resolution: "@toast/tokenservice-client@npm:1.1.2::__archiveUrl=https%3A%2F%2Fgit.toast-server.net%2Fapi%2Fpackages%2Ftoast%2Fnpm%2F%2540toast%252Ftokenservice-client%2F-%2F1.1.2%2Ftokenservice-client-1.1.2.tgz"
|
||||||
|
dependencies:
|
||||||
|
undici: "npm:6.9.0"
|
||||||
|
checksum: 10/5eecc94447defe366e72b94e3dd9ba0220ad2a53d4c7dfb030de568e1b2a6666348b4e8087ab99d9d25f6da288ce5851ec0ef567fd295728fa6fc8f41cfc34c9
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -516,6 +527,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"@types/lodash@npm:4.17.0":
|
||||||
|
version: 4.17.0
|
||||||
|
resolution: "@types/lodash@npm:4.17.0"
|
||||||
|
checksum: 10/2053203292b5af99352d108656ceb15d39da5922fc3fb8186e1552d65c82d6e545372cc97f36c95873aa7186404d59d9305e9d49254d4ae55e77df1e27ab7b5d
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"@types/ms@npm:*, @types/ms@npm:0.7.34":
|
"@types/ms@npm:*, @types/ms@npm:0.7.34":
|
||||||
version: 0.7.34
|
version: 0.7.34
|
||||||
resolution: "@types/ms@npm:0.7.34"
|
resolution: "@types/ms@npm:0.7.34"
|
||||||
@ -530,23 +548,23 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@types/node@npm:*, @types/node@npm:20.11.28":
|
"@types/node@npm:*, @types/node@npm:20.11.30":
|
||||||
version: 20.11.28
|
version: 20.11.30
|
||||||
resolution: "@types/node@npm:20.11.28"
|
resolution: "@types/node@npm:20.11.30"
|
||||||
dependencies:
|
dependencies:
|
||||||
undici-types: "npm:~5.26.4"
|
undici-types: "npm:~5.26.4"
|
||||||
checksum: 10/b03f69213ac6e7cd5f7efa86139f24e23ff70a12fed04adeac5413b62d6982343ce94906f74c401c5afefda48d36ae0efd6a575240996b15a5cf80b456ab4221
|
checksum: 10/78515bc768d2b878e2e06a1c20eb4f5840072b79b8d28ff3dd0a7feaaf48fd3a2ac03cfa5bc7564da82db5906b43e9ba0e5df9f43d870b7aae2942306e208815
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@types/pg@npm:8.11.2":
|
"@types/pg@npm:8.11.4":
|
||||||
version: 8.11.2
|
version: 8.11.4
|
||||||
resolution: "@types/pg@npm:8.11.2"
|
resolution: "@types/pg@npm:8.11.4"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/node": "npm:*"
|
"@types/node": "npm:*"
|
||||||
pg-protocol: "npm:*"
|
pg-protocol: "npm:*"
|
||||||
pg-types: "npm:^4.0.1"
|
pg-types: "npm:^4.0.1"
|
||||||
checksum: 10/7c05cf63beffc0f8d817d080cdd98d199a2bd732b779b9aadddcb8659f861f7aafb3bc071636b9eaa65b36cfe998ee66e21aa1485e583b190918fe2f856a6c53
|
checksum: 10/b2713bc4ec8e7245958d8ced5833e5fbf3b7bdc090c19b1967f49626abf79cfe62a14e36b194c48c9fc9edeeeb3d4308cfa716534e6ca318b0785daaeb32e359
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -639,12 +657,12 @@ __metadata:
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@napi-rs/canvas": "npm:0.1.51"
|
"@napi-rs/canvas": "npm:0.1.51"
|
||||||
"@octokit/rest": "npm:20.0.2"
|
"@octokit/rest": "npm:20.0.2"
|
||||||
"@sequelize/core": "npm:7.0.0-alpha.37"
|
"@sequelize/core": "npm:7.0.0-alpha.38"
|
||||||
"@toast/tokenservice-client": "npm:1.0.16"
|
"@toast/tokenservice-client": "npm:1.1.2"
|
||||||
"@types/ms": "npm:0.7.34"
|
"@types/ms": "npm:0.7.34"
|
||||||
"@types/node": "npm:20.11.28"
|
"@types/node": "npm:20.11.30"
|
||||||
"@types/node-cron": "npm:3.0.11"
|
"@types/node-cron": "npm:3.0.11"
|
||||||
"@types/pg": "npm:8.11.2"
|
"@types/pg": "npm:8.11.4"
|
||||||
ansi-colors: "npm:4.1.3"
|
ansi-colors: "npm:4.1.3"
|
||||||
dayjs: "npm:1.11.10"
|
dayjs: "npm:1.11.10"
|
||||||
discord.js: "npm:14.14.1"
|
discord.js: "npm:14.14.1"
|
||||||
@ -657,8 +675,8 @@ __metadata:
|
|||||||
postgres-array: "npm:3.0.2"
|
postgres-array: "npm:3.0.2"
|
||||||
redis: "npm:4.6.13"
|
redis: "npm:4.6.13"
|
||||||
simple-git: "npm:3.23.0"
|
simple-git: "npm:3.23.0"
|
||||||
systeminformation: "npm:5.22.3"
|
systeminformation: "npm:5.22.6"
|
||||||
typescript: "npm:5.4.2"
|
typescript: "npm:5.4.3"
|
||||||
undici: "npm:6.9.0"
|
undici: "npm:6.9.0"
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
@ -855,7 +873,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"lodash@npm:^4.17.21":
|
"lodash@npm:4.17.21, lodash@npm:^4.17.21":
|
||||||
version: 4.17.21
|
version: 4.17.21
|
||||||
resolution: "lodash@npm:4.17.21"
|
resolution: "lodash@npm:4.17.21"
|
||||||
checksum: 10/c08619c038846ea6ac754abd6dd29d2568aa705feb69339e836dfa8d8b09abbb2f859371e86863eda41848221f9af43714491467b5b0299122431e202bb0c532
|
checksum: 10/c08619c038846ea6ac754abd6dd29d2568aa705feb69339e836dfa8d8b09abbb2f859371e86863eda41848221f9af43714491467b5b0299122431e202bb0c532
|
||||||
@ -1249,12 +1267,12 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"systeminformation@npm:5.22.3":
|
"systeminformation@npm:5.22.6":
|
||||||
version: 5.22.3
|
version: 5.22.6
|
||||||
resolution: "systeminformation@npm:5.22.3"
|
resolution: "systeminformation@npm:5.22.6"
|
||||||
bin:
|
bin:
|
||||||
systeminformation: lib/cli.js
|
systeminformation: lib/cli.js
|
||||||
checksum: 10/a4b0bf49e5319424c828aff805a7cf158235ec79407039acfa13133e9dcfe2b6121aaafeffec94cae45dc85899dd91fd00583a4bc018ed507d38a4aea7ae6459
|
checksum: 10/f5c9e6f674c8a857514ce21709111d05e0e7b5d5a82265a64626bfb16f0ea82dce1f88455ca481ebb0ef1f83ec9072c07af1a0318de7ec01e80947d9d8a9d0d4
|
||||||
conditions: (os=darwin | os=linux | os=win32 | os=freebsd | os=openbsd | os=netbsd | os=sunos | os=android)
|
conditions: (os=darwin | os=linux | os=win32 | os=freebsd | os=openbsd | os=netbsd | os=sunos | os=android)
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
@ -1310,23 +1328,23 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"typescript@npm:5.4.2":
|
"typescript@npm:5.4.3":
|
||||||
version: 5.4.2
|
version: 5.4.3
|
||||||
resolution: "typescript@npm:5.4.2"
|
resolution: "typescript@npm:5.4.3"
|
||||||
bin:
|
bin:
|
||||||
tsc: bin/tsc
|
tsc: bin/tsc
|
||||||
tsserver: bin/tsserver
|
tsserver: bin/tsserver
|
||||||
checksum: 10/f8cfdc630ab1672f004e9561eb2916935b2d267792d07ce93e97fc601c7a65191af32033d5e9c0169b7dc37da7db9bf320f7432bc84527cb7697effaa4e4559d
|
checksum: 10/de4c69f49a7ad4b1ea66a6dcc8b055ac34eb56af059a069d8988dd811c5e649be07e042e5bf573e8d0ac3ec2f30e6c999aa651cd09f6e9cbc6113749e8b6be20
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"typescript@patch:typescript@npm%3A5.4.2#optional!builtin<compat/typescript>":
|
"typescript@patch:typescript@npm%3A5.4.3#optional!builtin<compat/typescript>":
|
||||||
version: 5.4.2
|
version: 5.4.3
|
||||||
resolution: "typescript@patch:typescript@npm%3A5.4.2#optional!builtin<compat/typescript>::version=5.4.2&hash=5adc0c"
|
resolution: "typescript@patch:typescript@npm%3A5.4.3#optional!builtin<compat/typescript>::version=5.4.3&hash=5adc0c"
|
||||||
bin:
|
bin:
|
||||||
tsc: bin/tsc
|
tsc: bin/tsc
|
||||||
tsserver: bin/tsserver
|
tsserver: bin/tsserver
|
||||||
checksum: 10/f5f9a4133c2670761f0166eae5b3bafbc4a3fc24f0f42a93c9c893d9e9d6e66ea066969c5e7483fa66b4ae0e99125592553f3b92fd3599484de8be13b0615176
|
checksum: 10/5aedd97595582b08aadb8a70e8e3ddebaf5a9c1e5ad4d6503c2fcfc15329b5cf8d01145b09913e9555683ac16c5123a96be32b6d72614098ebd42df520eed9b1
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -1353,15 +1371,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"undici@npm:6.7.0":
|
|
||||||
version: 6.7.0
|
|
||||||
resolution: "undici@npm:6.7.0"
|
|
||||||
dependencies:
|
|
||||||
"@fastify/busboy": "npm:^2.0.0"
|
|
||||||
checksum: 10/e133a27f89075329a337ab4220839ba6a48bdb62ee7dd824ed72415aabe705522fdbb1b0016fb5a4d74ee2ca3ca2854ae9d085aae970e4519678bdc8c96fdf0b
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"undici@npm:6.9.0":
|
"undici@npm:6.9.0":
|
||||||
version: 6.9.0
|
version: 6.9.0
|
||||||
resolution: "undici@npm:6.9.0"
|
resolution: "undici@npm:6.9.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user