Merge branch 'dev' into 'main'

Dev

See merge request illegitimate/illegitimate-bot!300
This commit is contained in:
2024-10-07 17:19:07 +00:00
113 changed files with 1030 additions and 615 deletions

9
.swcrc
View File

@@ -14,11 +14,10 @@
"preserveAllComments": false, "preserveAllComments": false,
"baseUrl": "./", "baseUrl": "./",
"paths": { "paths": {
"utils/*": ["src/utils/*"], "~/utils/*": ["src/utils/*"],
"schemas/*": ["src/schemas/*"], "~/config/*": ["src/config/*"],
"config/*": ["src/config/*"], "~/interfaces": ["src/interfaces/index"],
"interfaces": ["src/interfaces/index"], "~/typings": ["src/typings/index"]
"typings": ["src/typings/index"]
} }
}, },
"module": { "module": {

View File

@@ -5,7 +5,7 @@ services:
image: postgres image: postgres
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./dev/data:/var/lib/postgresql/data - ./dev/pgdata:/var/lib/postgresql/data
ports: ports:
- 5432:5432 - 5432:5432
environment: environment:

View File

@@ -45,14 +45,11 @@
"discord-player": "^6.7.1", "discord-player": "^6.7.1",
"discord-player-youtubei": "^1.3.2", "discord-player-youtubei": "^1.3.2",
"discord.js": "^14.16.2", "discord.js": "^14.16.2",
"dotenv": "^16.4.5",
"drizzle-orm": "^0.33.0", "drizzle-orm": "^0.33.0",
"ioredis": "^5.4.1", "ioredis": "^5.4.1",
"mongoose": "^8.6.3",
"ms": "^2.1.3", "ms": "^2.1.3",
"postgres": "^3.4.4", "postgres": "^3.4.4",
"pretty-ms": "^9.1.0", "pretty-ms": "^9.1.0"
"sequelize": "^6.37.3"
}, },
"devDependencies": { "devDependencies": {
"@eslint/eslintrc": "^3.1.0", "@eslint/eslintrc": "^3.1.0",
@@ -64,12 +61,12 @@
"@typescript-eslint/eslint-plugin": "^8.7.0", "@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0", "@typescript-eslint/parser": "^8.7.0",
"chokidar": "^4.0.1", "chokidar": "^4.0.1",
"dotenv": "^16.4.5",
"dprint": "^0.47.2", "dprint": "^0.47.2",
"drizzle-kit": "^0.24.2", "drizzle-kit": "^0.24.2",
"eslint": "^9.11.1", "eslint": "^9.11.1",
"eslint-plugin-drizzle": "^0.2.3", "eslint-plugin-drizzle": "^0.2.3",
"globals": "^15.9.0", "globals": "^15.9.0",
"sqlite3": "^5.1.7",
"tsx": "^4.19.1", "tsx": "^4.19.1",
"typescript": "^5.6.2" "typescript": "^5.6.2"
}, },

370
pnpm-lock.yaml generated
View File

@@ -43,18 +43,12 @@ importers:
discord.js: discord.js:
specifier: ^14.16.2 specifier: ^14.16.2
version: 14.16.2 version: 14.16.2
dotenv:
specifier: ^16.4.5
version: 16.4.5
drizzle-orm: drizzle-orm:
specifier: ^0.33.0 specifier: ^0.33.0
version: 0.33.0(@types/pg@8.11.10)(pg@8.13.0)(postgres@3.4.4)(sqlite3@5.1.7) version: 0.33.0(@types/pg@8.11.10)(pg@8.13.0)(postgres@3.4.4)(sqlite3@5.1.7)
ioredis: ioredis:
specifier: ^5.4.1 specifier: ^5.4.1
version: 5.4.1 version: 5.4.1
mongoose:
specifier: ^8.6.3
version: 8.6.3(socks@2.8.3)
ms: ms:
specifier: ^2.1.3 specifier: ^2.1.3
version: 2.1.3 version: 2.1.3
@@ -64,9 +58,6 @@ importers:
pretty-ms: pretty-ms:
specifier: ^9.1.0 specifier: ^9.1.0
version: 9.1.0 version: 9.1.0
sequelize:
specifier: ^6.37.3
version: 6.37.3(pg@8.13.0)(sqlite3@5.1.7)
devDependencies: devDependencies:
'@eslint/eslintrc': '@eslint/eslintrc':
specifier: ^3.1.0 specifier: ^3.1.0
@@ -95,6 +86,9 @@ importers:
chokidar: chokidar:
specifier: ^4.0.1 specifier: ^4.0.1
version: 4.0.1 version: 4.0.1
dotenv:
specifier: ^16.4.5
version: 16.4.5
dprint: dprint:
specifier: ^0.47.2 specifier: ^0.47.2
version: 0.47.2 version: 0.47.2
@@ -110,9 +104,6 @@ importers:
globals: globals:
specifier: ^15.9.0 specifier: ^15.9.0
version: 15.9.0 version: 15.9.0
sqlite3:
specifier: ^5.1.7
version: 5.1.7
tsx: tsx:
specifier: ^4.19.1 specifier: ^4.19.1
version: 4.19.1 version: 4.19.1
@@ -690,9 +681,6 @@ packages:
resolution: {integrity: sha512-sTGoeZnjI8N4KS+sW2AN95gDBErhAguvkw/tWdCjeM8bvxpz5lqrnd0vOJABA1A+Ic3zED7PYoLP/RANLgVotA==} resolution: {integrity: sha512-sTGoeZnjI8N4KS+sW2AN95gDBErhAguvkw/tWdCjeM8bvxpz5lqrnd0vOJABA1A+Ic3zED7PYoLP/RANLgVotA==}
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
'@mongodb-js/saslprep@1.1.9':
resolution: {integrity: sha512-tVkljjeEaAhCqTzajSdgbQ6gE6f3oneVwa3iXR6csiEwXXOFsiC6Uh9iAjAhXPtqa/XMDHWjjeNH/77m/Yq2dw==}
'@napi-rs/nice-android-arm-eabi@1.0.1': '@napi-rs/nice-android-arm-eabi@1.0.1':
resolution: {integrity: sha512-5qpvOu5IGwDo7MEKVqqyAxF90I6aLj4n07OzpARdgDRfz8UbBztTByBp0RC59r3J1Ij8uzYi6jI7r5Lws7nn6w==} resolution: {integrity: sha512-5qpvOu5IGwDo7MEKVqqyAxF90I6aLj4n07OzpARdgDRfz8UbBztTByBp0RC59r3J1Ij8uzYi6jI7r5Lws7nn6w==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
@@ -929,9 +917,6 @@ packages:
'@types/cacheable-request@6.0.3': '@types/cacheable-request@6.0.3':
resolution: {integrity: sha512-IQ3EbTzGxIigb1I3qPZc1rWJnH0BmSKv5QYTalEwweFvyBDLSAe24zP0le/hyi7ecGfZVlIVAg4BZqb8WBwKqw==} resolution: {integrity: sha512-IQ3EbTzGxIigb1I3qPZc1rWJnH0BmSKv5QYTalEwweFvyBDLSAe24zP0le/hyi7ecGfZVlIVAg4BZqb8WBwKqw==}
'@types/debug@4.1.12':
resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==}
'@types/estree@1.0.6': '@types/estree@1.0.6':
resolution: {integrity: sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==} resolution: {integrity: sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==}
@@ -959,15 +944,6 @@ packages:
'@types/responselike@1.0.3': '@types/responselike@1.0.3':
resolution: {integrity: sha512-H/+L+UkTV33uf49PH5pCAUBVPNj2nDBXTN+qS1dOwyyg24l3CcicicCA7ca+HMvJBZcFgl5r8e+RR6elsb4Lyw==} resolution: {integrity: sha512-H/+L+UkTV33uf49PH5pCAUBVPNj2nDBXTN+qS1dOwyyg24l3CcicicCA7ca+HMvJBZcFgl5r8e+RR6elsb4Lyw==}
'@types/validator@13.12.2':
resolution: {integrity: sha512-6SlHBzUW8Jhf3liqrGGXyTJSIFe4nqlJ5A5KaMZ2l/vbM3Wh3KSybots/wfWVzNLK4D1NZluDlSQIbIEPx6oyA==}
'@types/webidl-conversions@7.0.3':
resolution: {integrity: sha512-CiJJvcRtIgzadHCYXw7dqEnMNRjhGZlYK05Mj9OyktqV8uVT8fD2BFOB7S1uwBE3Kj2Z+4UyPmFw/Ixgw/LAlA==}
'@types/whatwg-url@11.0.5':
resolution: {integrity: sha512-coYR071JRaHa+xoEvvYqvnIHaVqaYrLPbsufM9BF63HkwI5Lgmy2QR8Q5K/lYDYo5AK82wOvSOS0UsLTpTG7uQ==}
'@types/ws@8.5.12': '@types/ws@8.5.12':
resolution: {integrity: sha512-3tPRkv1EtkDpzlgyKyI8pGsGZAGPEaXeu0DOj5DI25Ja91bdAYddYHbADRYVrZMRbfW+1l5YwXVDKohDJNQxkQ==} resolution: {integrity: sha512-3tPRkv1EtkDpzlgyKyI8pGsGZAGPEaXeu0DOj5DI25Ja91bdAYddYHbADRYVrZMRbfW+1l5YwXVDKohDJNQxkQ==}
@@ -1133,10 +1109,6 @@ packages:
resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==}
engines: {node: '>=8'} engines: {node: '>=8'}
bson@6.8.0:
resolution: {integrity: sha512-iOJg8pr7wq2tg/zSlCCHMi3hMm5JTOxLTagf3zxhcenHsFp+c6uOs6K7W5UE7A4QIJGtqh/ZovFNMP4mOPJynQ==}
engines: {node: '>=16.20.1'}
buffer-from@1.1.2: buffer-from@1.1.2:
resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==}
@@ -1321,9 +1293,6 @@ packages:
resolution: {integrity: sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==} resolution: {integrity: sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==}
engines: {node: '>=12'} engines: {node: '>=12'}
dottie@2.0.6:
resolution: {integrity: sha512-iGCHkfUc5kFekGiqhe8B/mdaurD+lakO9txNnTvKtA6PISrw86LgqHvRzWYPyoE2Ph5aMIrCw9/uko6XHTKCwA==}
dprint@0.47.2: dprint@0.47.2:
resolution: {integrity: sha512-geUcVIIrmLaY+YtuOl4gD7J/QCjsXZa5gUqre9sO6cgH0X/Fa9heBN3l/AWVII6rKPw45ATuCSDWz1pyO+HkPQ==} resolution: {integrity: sha512-geUcVIIrmLaY+YtuOl4gD7J/QCjsXZa5gUqre9sO6cgH0X/Fa9heBN3l/AWVII6rKPw45ATuCSDWz1pyO+HkPQ==}
hasBin: true hasBin: true
@@ -1752,10 +1721,6 @@ packages:
infer-owner@1.0.4: infer-owner@1.0.4:
resolution: {integrity: sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==} resolution: {integrity: sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==}
inflection@1.13.4:
resolution: {integrity: sha512-6I/HUDeYFfuNCVS3td055BaXBwKYuzw7K3ExVMStBowKo9oOAMJIXIHvdyR3iboTCp1b+1i5DSkIZTcwIktuDw==}
engines: {'0': node >= 0.4.0}
inflight@1.0.6: inflight@1.0.6:
resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==}
deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
@@ -1834,10 +1799,6 @@ packages:
json-stable-stringify-without-jsonify@1.0.1: json-stable-stringify-without-jsonify@1.0.1:
resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==}
kareem@2.6.3:
resolution: {integrity: sha512-C3iHfuGUXK2u8/ipq9LfjFfXFxAZMQJJq7vLS45r3D9Y2xQ/m4S8zaR4zMLFWh9AsNPXmcFfUDhTEO8UIC/V6Q==}
engines: {node: '>=12.0.0'}
keyv@4.5.4: keyv@4.5.4:
resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==}
@@ -1892,9 +1853,6 @@ packages:
resolution: {integrity: sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg==} resolution: {integrity: sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
memory-pager@1.5.0:
resolution: {integrity: sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==}
merge-stream@2.0.0: merge-stream@2.0.0:
resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==}
@@ -1980,54 +1938,6 @@ packages:
engines: {node: '>=10'} engines: {node: '>=10'}
hasBin: true hasBin: true
moment-timezone@0.5.45:
resolution: {integrity: sha512-HIWmqA86KcmCAhnMAN0wuDOARV/525R2+lOLotuGFzn4HO+FH+/645z2wx0Dt3iDv6/p61SIvKnDstISainhLQ==}
moment@2.30.1:
resolution: {integrity: sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==}
mongodb-connection-string-url@3.0.1:
resolution: {integrity: sha512-XqMGwRX0Lgn05TDB4PyG2h2kKO/FfWJyCzYQbIhXUxz7ETt0I/FqHjUeqj37irJ+Dl1ZtU82uYyj14u2XsZKfg==}
mongodb@6.8.0:
resolution: {integrity: sha512-HGQ9NWDle5WvwMnrvUxsFYPd3JEbqD3RgABHBQRuoCEND0qzhsd0iH5ypHsf1eJ+sXmvmyKpP+FLOKY8Il7jMw==}
engines: {node: '>=16.20.1'}
peerDependencies:
'@aws-sdk/credential-providers': ^3.188.0
'@mongodb-js/zstd': ^1.1.0
gcp-metadata: ^5.2.0
kerberos: ^2.0.1
mongodb-client-encryption: '>=6.0.0 <7'
snappy: ^7.2.2
socks: ^2.7.1
peerDependenciesMeta:
'@aws-sdk/credential-providers':
optional: true
'@mongodb-js/zstd':
optional: true
gcp-metadata:
optional: true
kerberos:
optional: true
mongodb-client-encryption:
optional: true
snappy:
optional: true
socks:
optional: true
mongoose@8.6.3:
resolution: {integrity: sha512-++yRmm7hjMbqVA/8WeiygTnEfrFbiy+OBjQi49GFJIvCQuSYE56myyQWo4j5hbpcHjhHQU8NukMNGTwAWFWjIw==}
engines: {node: '>=16.20.1'}
mpath@0.9.0:
resolution: {integrity: sha512-ikJRQTk8hw5DEoFVxHG1Gn9T/xcjtdnOKIU1JTmGjZZlg9LST2mBLmcX3/ICIbgJydT2GOc15RnNy5mHmzfSew==}
engines: {node: '>=4.0.0'}
mquery@5.0.0:
resolution: {integrity: sha512-iQMncpmEK8R8ncT8HJGsGc9Dsp8xcgYMVSbs5jgnm1lFHTZqMJTUWTDx1LBO8+mK3tPNZWFLBghQEIOULSTHZg==}
engines: {node: '>=14.0.0'}
ms@2.1.3: ms@2.1.3:
resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
@@ -2359,9 +2269,6 @@ packages:
responselike@2.0.1: responselike@2.0.1:
resolution: {integrity: sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw==} resolution: {integrity: sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw==}
retry-as-promised@7.0.4:
resolution: {integrity: sha512-XgmCoxKWkDofwH8WddD0w85ZfqYz+ZHlr5yo+3YUCfycWawU56T5ckWXsScsj5B8tqUcIG67DxXByo3VUgiAdA==}
retry@0.12.0: retry@0.12.0:
resolution: {integrity: sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==} resolution: {integrity: sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==}
engines: {node: '>= 4'} engines: {node: '>= 4'}
@@ -2400,43 +2307,6 @@ packages:
engines: {node: '>=10'} engines: {node: '>=10'}
hasBin: true hasBin: true
sequelize-pool@7.1.0:
resolution: {integrity: sha512-G9c0qlIWQSK29pR/5U2JF5dDQeqqHRragoyahj/Nx4KOOQ3CPPfzxnfqFPCSB7x5UgjOgnZ61nSxz+fjDpRlJg==}
engines: {node: '>= 10.0.0'}
sequelize@6.37.3:
resolution: {integrity: sha512-V2FTqYpdZjPy3VQrZvjTPnOoLm0KudCRXfGWp48QwhyPPp2yW8z0p0sCYZd/em847Tl2dVxJJ1DR+hF+O77T7A==}
engines: {node: '>=10.0.0'}
peerDependencies:
ibm_db: '*'
mariadb: '*'
mysql2: '*'
oracledb: '*'
pg: '*'
pg-hstore: '*'
snowflake-sdk: '*'
sqlite3: '*'
tedious: '*'
peerDependenciesMeta:
ibm_db:
optional: true
mariadb:
optional: true
mysql2:
optional: true
oracledb:
optional: true
pg:
optional: true
pg-hstore:
optional: true
snowflake-sdk:
optional: true
sqlite3:
optional: true
tedious:
optional: true
set-blocking@2.0.0: set-blocking@2.0.0:
resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==}
@@ -2456,9 +2326,6 @@ packages:
resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==}
engines: {node: '>=8'} engines: {node: '>=8'}
sift@17.1.3:
resolution: {integrity: sha512-Rtlj66/b0ICeFzYTuNvX/EF1igRbbnGSvEyT79McoZa/DeGhMyC5pWKOEsZKnpkqtSeovd5FL/bjHWC3CIIvCQ==}
signal-exit@3.0.7: signal-exit@3.0.7:
resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==}
@@ -2506,9 +2373,6 @@ packages:
resolution: {integrity: sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==} resolution: {integrity: sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==}
engines: {node: '>= 8'} engines: {node: '>= 8'}
sparse-bitfield@3.0.3:
resolution: {integrity: sha512-kvzhi7vqKTfkh0PZU+2D2PIllw2ymqJKujUcyPMd9Y75Nv4nPbGJZXNhxsgdQab2BmlDct1YnfQCguEvHr7VsQ==}
split2@4.2.0: split2@4.2.0:
resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==} resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==}
engines: {node: '>= 10.x'} engines: {node: '>= 10.x'}
@@ -2606,16 +2470,9 @@ packages:
resolution: {integrity: sha512-Y2fmSnZjQdDb9W4w4r1tswlMHylzWIeOKpx0aZH9BgGtACHhrk3OkT52AzwcuqTRBZtvvnTjDBh8eynMulu8Vg==} resolution: {integrity: sha512-Y2fmSnZjQdDb9W4w4r1tswlMHylzWIeOKpx0aZH9BgGtACHhrk3OkT52AzwcuqTRBZtvvnTjDBh8eynMulu8Vg==}
engines: {node: '>=14.16'} engines: {node: '>=14.16'}
toposort-class@1.0.1:
resolution: {integrity: sha512-OsLcGGbYF3rMjPUf8oKktyvCiUxSbqMMS39m33MAjLTC1DVIH6x3WSt63/M77ihI09+Sdfk1AXvfhCEeUmC7mg==}
tr46@0.0.3: tr46@0.0.3:
resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==}
tr46@4.1.1:
resolution: {integrity: sha512-2lv/66T7e5yNyhAAC4NaKe5nVavzuGJQVVtRYLyQ2OI8tsJ61PMLlelehb0wi2Hx6+hT/OJUWZcw8MjlSRnxvw==}
engines: {node: '>=14'}
trim-repeated@2.0.0: trim-repeated@2.0.0:
resolution: {integrity: sha512-QUHBFTJGdOwmp0tbOG505xAgOp/YliZP/6UgafFXYZ26WT1bvQmSMJUvkeVSASuJJHbqsFbynTvkd5W8RBTipg==} resolution: {integrity: sha512-QUHBFTJGdOwmp0tbOG505xAgOp/YliZP/6UgafFXYZ26WT1bvQmSMJUvkeVSASuJJHbqsFbynTvkd5W8RBTipg==}
engines: {node: '>=12'} engines: {node: '>=12'}
@@ -2675,14 +2532,6 @@ packages:
util-deprecate@1.0.2: util-deprecate@1.0.2:
resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}
uuid@8.3.2:
resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==}
hasBin: true
validator@13.12.0:
resolution: {integrity: sha512-c1Q0mCiPlgdTVVVIJIrBuxNicYE+t/7oKeI9MWLj3fh/uq2Pxh/3eeWbVZ4OcGW1TUf53At0njHw5SMdA3tmMg==}
engines: {node: '>= 0.10'}
web-streams-polyfill@3.3.3: web-streams-polyfill@3.3.3:
resolution: {integrity: sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==} resolution: {integrity: sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==}
engines: {node: '>= 8'} engines: {node: '>= 8'}
@@ -2690,14 +2539,6 @@ packages:
webidl-conversions@3.0.1: webidl-conversions@3.0.1:
resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==}
webidl-conversions@7.0.0:
resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==}
engines: {node: '>=12'}
whatwg-url@13.0.0:
resolution: {integrity: sha512-9WWbymnqj57+XEuqADHrCJ2eSXzn8WXIW/YSGaZtb2WKAInQ6CHfaUUcTyyver0p8BDg5StLQq8h1vtZuwmOig==}
engines: {node: '>=16'}
whatwg-url@5.0.0: whatwg-url@5.0.0:
resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==}
@@ -2713,9 +2554,6 @@ packages:
wide-align@1.1.5: wide-align@1.1.5:
resolution: {integrity: sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==} resolution: {integrity: sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==}
wkx@0.5.0:
resolution: {integrity: sha512-Xng/d4Ichh8uN4l0FToV/258EjMGU9MGcA0HV2d9B/ZpZB3lqQm7nkOdZdm5GhKtLLhAE7PiVQwN4eN+2YJJUg==}
word-wrap@1.2.5: word-wrap@1.2.5:
resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==}
engines: {node: '>=0.10.0'} engines: {node: '>=0.10.0'}
@@ -3135,10 +2973,6 @@ snapshots:
got: 11.8.6 got: 11.8.6
os-filter-obj: 2.0.0 os-filter-obj: 2.0.0
'@mongodb-js/saslprep@1.1.9':
dependencies:
sparse-bitfield: 3.0.3
'@napi-rs/nice-android-arm-eabi@1.0.1': '@napi-rs/nice-android-arm-eabi@1.0.1':
optional: true optional: true
@@ -3325,10 +3159,6 @@ snapshots:
'@types/node': 22.7.2 '@types/node': 22.7.2
'@types/responselike': 1.0.3 '@types/responselike': 1.0.3
'@types/debug@4.1.12':
dependencies:
'@types/ms': 0.7.34
'@types/estree@1.0.6': {} '@types/estree@1.0.6': {}
'@types/http-cache-semantics@4.0.4': {} '@types/http-cache-semantics@4.0.4': {}
@@ -3358,14 +3188,6 @@ snapshots:
dependencies: dependencies:
'@types/node': 22.7.2 '@types/node': 22.7.2
'@types/validator@13.12.2': {}
'@types/webidl-conversions@7.0.3': {}
'@types/whatwg-url@11.0.5':
dependencies:
'@types/webidl-conversions': 7.0.3
'@types/ws@8.5.12': '@types/ws@8.5.12':
dependencies: dependencies:
'@types/node': 22.7.2 '@types/node': 22.7.2
@@ -3524,7 +3346,8 @@ snapshots:
balanced-match@1.0.2: {} balanced-match@1.0.2: {}
base64-js@1.5.1: {} base64-js@1.5.1:
optional: true
bin-check@4.1.0: bin-check@4.1.0:
dependencies: dependencies:
@@ -3545,12 +3368,14 @@ snapshots:
bindings@1.5.0: bindings@1.5.0:
dependencies: dependencies:
file-uri-to-path: 1.0.0 file-uri-to-path: 1.0.0
optional: true
bl@4.1.0: bl@4.1.0:
dependencies: dependencies:
buffer: 5.7.1 buffer: 5.7.1
inherits: 2.0.4 inherits: 2.0.4
readable-stream: 3.6.2 readable-stream: 3.6.2
optional: true
boolbase@1.0.0: {} boolbase@1.0.0: {}
@@ -3567,14 +3392,13 @@ snapshots:
dependencies: dependencies:
fill-range: 7.1.1 fill-range: 7.1.1
bson@6.8.0: {}
buffer-from@1.1.2: {} buffer-from@1.1.2: {}
buffer@5.7.1: buffer@5.7.1:
dependencies: dependencies:
base64-js: 1.5.1 base64-js: 1.5.1
ieee754: 1.2.1 ieee754: 1.2.1
optional: true
cacache@15.3.0: cacache@15.3.0:
dependencies: dependencies:
@@ -3625,9 +3449,11 @@ snapshots:
dependencies: dependencies:
readdirp: 4.0.1 readdirp: 4.0.1
chownr@1.1.4: {} chownr@1.1.4:
optional: true
chownr@2.0.0: {} chownr@2.0.0:
optional: true
clean-stack@2.2.0: clean-stack@2.2.0:
optional: true optional: true
@@ -3699,7 +3525,8 @@ snapshots:
dependencies: dependencies:
mimic-response: 3.1.0 mimic-response: 3.1.0
deep-extend@0.6.0: {} deep-extend@0.6.0:
optional: true
deep-is@0.1.4: {} deep-is@0.1.4: {}
@@ -3712,7 +3539,8 @@ snapshots:
denque@2.1.0: {} denque@2.1.0: {}
detect-libc@2.0.3: {} detect-libc@2.0.3:
optional: true
discord-api-types@0.37.101: {} discord-api-types@0.37.101: {}
@@ -3797,8 +3625,6 @@ snapshots:
dotenv@16.4.5: {} dotenv@16.4.5: {}
dottie@2.0.6: {}
dprint@0.47.2: dprint@0.47.2:
optionalDependencies: optionalDependencies:
'@dprint/darwin-arm64': 0.47.2 '@dprint/darwin-arm64': 0.47.2
@@ -4034,7 +3860,8 @@ snapshots:
dependencies: dependencies:
pify: 2.3.0 pify: 2.3.0
expand-template@2.0.3: {} expand-template@2.0.3:
optional: true
ext-list@2.2.2: ext-list@2.2.2:
dependencies: dependencies:
@@ -4084,7 +3911,8 @@ snapshots:
strtok3: 7.1.1 strtok3: 7.1.1
token-types: 5.0.1 token-types: 5.0.1
file-uri-to-path@1.0.0: {} file-uri-to-path@1.0.0:
optional: true
filename-reserved-regex@3.0.0: {} filename-reserved-regex@3.0.0: {}
@@ -4126,11 +3954,13 @@ snapshots:
dependencies: dependencies:
fetch-blob: 3.2.0 fetch-blob: 3.2.0
fs-constants@1.0.0: {} fs-constants@1.0.0:
optional: true
fs-minipass@2.1.0: fs-minipass@2.1.0:
dependencies: dependencies:
minipass: 3.3.6 minipass: 3.3.6
optional: true
fs.realpath@1.0.0: fs.realpath@1.0.0:
optional: true optional: true
@@ -4167,7 +3997,8 @@ snapshots:
dependencies: dependencies:
resolve-pkg-maps: 1.0.0 resolve-pkg-maps: 1.0.0
github-from-package@0.0.0: {} github-from-package@0.0.0:
optional: true
glob-parent@5.1.2: glob-parent@5.1.2:
dependencies: dependencies:
@@ -4272,8 +4103,6 @@ snapshots:
infer-owner@1.0.4: infer-owner@1.0.4:
optional: true optional: true
inflection@1.13.4: {}
inflight@1.0.6: inflight@1.0.6:
dependencies: dependencies:
once: 1.4.0 once: 1.4.0
@@ -4282,7 +4111,8 @@ snapshots:
inherits@2.0.4: {} inherits@2.0.4: {}
ini@1.3.8: {} ini@1.3.8:
optional: true
ioredis@5.4.1: ioredis@5.4.1:
dependencies: dependencies:
@@ -4350,8 +4180,6 @@ snapshots:
json-stable-stringify-without-jsonify@1.0.1: {} json-stable-stringify-without-jsonify@1.0.1: {}
kareem@2.6.3: {}
keyv@4.5.4: keyv@4.5.4:
dependencies: dependencies:
json-buffer: 3.0.1 json-buffer: 3.0.1
@@ -4420,8 +4248,6 @@ snapshots:
- supports-color - supports-color
optional: true optional: true
memory-pager@1.5.0: {}
merge-stream@2.0.0: {} merge-stream@2.0.0: {}
merge2@1.4.1: {} merge2@1.4.1: {}
@@ -4453,7 +4279,8 @@ snapshots:
dependencies: dependencies:
brace-expansion: 2.0.1 brace-expansion: 2.0.1
minimist@1.2.8: {} minimist@1.2.8:
optional: true
minipass-collect@1.0.2: minipass-collect@1.0.2:
dependencies: dependencies:
@@ -4487,67 +4314,27 @@ snapshots:
minipass@3.3.6: minipass@3.3.6:
dependencies: dependencies:
yallist: 4.0.0 yallist: 4.0.0
optional: true
minipass@5.0.0: {} minipass@5.0.0:
optional: true
minizlib@2.1.2: minizlib@2.1.2:
dependencies: dependencies:
minipass: 3.3.6 minipass: 3.3.6
yallist: 4.0.0 yallist: 4.0.0
optional: true
mkdirp-classic@0.5.3: {} mkdirp-classic@0.5.3:
optional: true
mkdirp@1.0.4: {} mkdirp@1.0.4:
optional: true
moment-timezone@0.5.45:
dependencies:
moment: 2.30.1
moment@2.30.1: {}
mongodb-connection-string-url@3.0.1:
dependencies:
'@types/whatwg-url': 11.0.5
whatwg-url: 13.0.0
mongodb@6.8.0(socks@2.8.3):
dependencies:
'@mongodb-js/saslprep': 1.1.9
bson: 6.8.0
mongodb-connection-string-url: 3.0.1
optionalDependencies:
socks: 2.8.3
mongoose@8.6.3(socks@2.8.3):
dependencies:
bson: 6.8.0
kareem: 2.6.3
mongodb: 6.8.0(socks@2.8.3)
mpath: 0.9.0
mquery: 5.0.0
ms: 2.1.3
sift: 17.1.3
transitivePeerDependencies:
- '@aws-sdk/credential-providers'
- '@mongodb-js/zstd'
- gcp-metadata
- kerberos
- mongodb-client-encryption
- snappy
- socks
- supports-color
mpath@0.9.0: {}
mquery@5.0.0:
dependencies:
debug: 4.3.7
transitivePeerDependencies:
- supports-color
ms@2.1.3: {} ms@2.1.3: {}
napi-build-utils@1.0.2: {} napi-build-utils@1.0.2:
optional: true
natural-compare@1.4.0: {} natural-compare@1.4.0: {}
@@ -4557,8 +4344,10 @@ snapshots:
node-abi@3.68.0: node-abi@3.68.0:
dependencies: dependencies:
semver: 7.6.3 semver: 7.6.3
optional: true
node-addon-api@7.1.1: {} node-addon-api@7.1.1:
optional: true
node-domexception@1.0.0: {} node-domexception@1.0.0: {}
@@ -4686,7 +4475,8 @@ snapshots:
pg-cloudflare@1.1.1: pg-cloudflare@1.1.1:
optional: true optional: true
pg-connection-string@2.7.0: {} pg-connection-string@2.7.0:
optional: true
pg-int8@1.0.1: pg-int8@1.0.1:
optional: true optional: true
@@ -4793,6 +4583,7 @@ snapshots:
simple-get: 4.0.1 simple-get: 4.0.1
tar-fs: 2.1.1 tar-fs: 2.1.1
tunnel-agent: 0.6.0 tunnel-agent: 0.6.0
optional: true
prelude-ls@1.2.1: {} prelude-ls@1.2.1: {}
@@ -4832,6 +4623,7 @@ snapshots:
ini: 1.3.8 ini: 1.3.8
minimist: 1.2.8 minimist: 1.2.8
strip-json-comments: 2.0.1 strip-json-comments: 2.0.1
optional: true
readable-stream@3.6.2: readable-stream@3.6.2:
dependencies: dependencies:
@@ -4861,8 +4653,6 @@ snapshots:
dependencies: dependencies:
lowercase-keys: 2.0.0 lowercase-keys: 2.0.0
retry-as-promised@7.0.4: {}
retry@0.12.0: retry@0.12.0:
optional: true optional: true
@@ -4896,32 +4686,6 @@ snapshots:
semver@7.6.3: {} semver@7.6.3: {}
sequelize-pool@7.1.0: {}
sequelize@6.37.3(pg@8.13.0)(sqlite3@5.1.7):
dependencies:
'@types/debug': 4.1.12
'@types/validator': 13.12.2
debug: 4.3.7
dottie: 2.0.6
inflection: 1.13.4
lodash: 4.17.21
moment: 2.30.1
moment-timezone: 0.5.45
pg-connection-string: 2.7.0
retry-as-promised: 7.0.4
semver: 7.6.3
sequelize-pool: 7.1.0
toposort-class: 1.0.1
uuid: 8.3.2
validator: 13.12.0
wkx: 0.5.0
optionalDependencies:
pg: 8.13.0
sqlite3: 5.1.7
transitivePeerDependencies:
- supports-color
set-blocking@2.0.0: set-blocking@2.0.0:
optional: true optional: true
@@ -4937,17 +4701,17 @@ snapshots:
shebang-regex@3.0.0: {} shebang-regex@3.0.0: {}
sift@17.1.3: {}
signal-exit@3.0.7: {} signal-exit@3.0.7: {}
simple-concat@1.0.1: {} simple-concat@1.0.1:
optional: true
simple-get@4.0.1: simple-get@4.0.1:
dependencies: dependencies:
decompress-response: 6.0.0 decompress-response: 6.0.0
once: 1.4.0 once: 1.4.0
simple-concat: 1.0.1 simple-concat: 1.0.1
optional: true
slash@3.0.0: {} slash@3.0.0: {}
@@ -4990,10 +4754,6 @@ snapshots:
source-map@0.7.4: {} source-map@0.7.4: {}
sparse-bitfield@3.0.3:
dependencies:
memory-pager: 1.5.0
split2@4.2.0: split2@4.2.0:
optional: true optional: true
@@ -5018,6 +4778,7 @@ snapshots:
transitivePeerDependencies: transitivePeerDependencies:
- bluebird - bluebird
- supports-color - supports-color
optional: true
ssri@8.0.1: ssri@8.0.1:
dependencies: dependencies:
@@ -5045,7 +4806,8 @@ snapshots:
strip-final-newline@2.0.0: {} strip-final-newline@2.0.0: {}
strip-json-comments@2.0.1: {} strip-json-comments@2.0.1:
optional: true
strip-json-comments@3.1.1: {} strip-json-comments@3.1.1: {}
@@ -5071,6 +4833,7 @@ snapshots:
mkdirp-classic: 0.5.3 mkdirp-classic: 0.5.3
pump: 3.0.2 pump: 3.0.2
tar-stream: 2.2.0 tar-stream: 2.2.0
optional: true
tar-stream@2.2.0: tar-stream@2.2.0:
dependencies: dependencies:
@@ -5079,6 +4842,7 @@ snapshots:
fs-constants: 1.0.0 fs-constants: 1.0.0
inherits: 2.0.4 inherits: 2.0.4
readable-stream: 3.6.2 readable-stream: 3.6.2
optional: true
tar@6.2.1: tar@6.2.1:
dependencies: dependencies:
@@ -5088,6 +4852,7 @@ snapshots:
minizlib: 2.1.2 minizlib: 2.1.2
mkdirp: 1.0.4 mkdirp: 1.0.4
yallist: 4.0.0 yallist: 4.0.0
optional: true
text-table@0.2.0: {} text-table@0.2.0: {}
@@ -5107,14 +4872,8 @@ snapshots:
'@tokenizer/token': 0.3.0 '@tokenizer/token': 0.3.0
ieee754: 1.2.1 ieee754: 1.2.1
toposort-class@1.0.1: {}
tr46@0.0.3(patch_hash=bpj6gcw6zugqpvk6vn5cnxkdsq): {} tr46@0.0.3(patch_hash=bpj6gcw6zugqpvk6vn5cnxkdsq): {}
tr46@4.1.1:
dependencies:
punycode: 2.3.1
trim-repeated@2.0.0: trim-repeated@2.0.0:
dependencies: dependencies:
escape-string-regexp: 5.0.0 escape-string-regexp: 5.0.0
@@ -5137,6 +4896,7 @@ snapshots:
tunnel-agent@0.6.0: tunnel-agent@0.6.0:
dependencies: dependencies:
safe-buffer: 5.2.1 safe-buffer: 5.2.1
optional: true
type-check@0.4.0: type-check@0.4.0:
dependencies: dependencies:
@@ -5170,21 +4930,10 @@ snapshots:
util-deprecate@1.0.2: {} util-deprecate@1.0.2: {}
uuid@8.3.2: {}
validator@13.12.0: {}
web-streams-polyfill@3.3.3: {} web-streams-polyfill@3.3.3: {}
webidl-conversions@3.0.1: {} webidl-conversions@3.0.1: {}
webidl-conversions@7.0.0: {}
whatwg-url@13.0.0:
dependencies:
tr46: 4.1.1
webidl-conversions: 7.0.0
whatwg-url@5.0.0(patch_hash=qm5bqxbojl4aucv5lfj4d2vjuu): whatwg-url@5.0.0(patch_hash=qm5bqxbojl4aucv5lfj4d2vjuu):
dependencies: dependencies:
tr46: 0.0.3(patch_hash=bpj6gcw6zugqpvk6vn5cnxkdsq) tr46: 0.0.3(patch_hash=bpj6gcw6zugqpvk6vn5cnxkdsq)
@@ -5203,10 +4952,6 @@ snapshots:
string-width: 4.2.3 string-width: 4.2.3
optional: true optional: true
wkx@0.5.0:
dependencies:
'@types/node': 22.7.2
word-wrap@1.2.5: {} word-wrap@1.2.5: {}
wrappy@1.0.2: {} wrappy@1.0.2: {}
@@ -5218,7 +4963,8 @@ snapshots:
yallist@2.1.2: {} yallist@2.1.2: {}
yallist@4.0.0: {} yallist@4.0.0:
optional: true
yocto-queue@0.1.0: {} yocto-queue@0.1.0: {}

View File

@@ -1,5 +1,5 @@
import { ApplicationCommandType, ContextMenuCommandBuilder, PermissionFlagsBits, userMention } from "discord.js" import { ApplicationCommandType, ContextMenuCommandBuilder, PermissionFlagsBits, userMention } from "discord.js"
import { IContextMenu } from "interfaces" import { IContextMenu } from "~/interfaces"
export default { export default {
name: "congratsmessage", name: "congratsmessage",

View File

@@ -1,5 +1,5 @@
import { ApplicationCommandType, ContextMenuCommandBuilder, PermissionFlagsBits } from "discord.js" import { ApplicationCommandType, ContextMenuCommandBuilder, PermissionFlagsBits } from "discord.js"
import { IContextMenu } from "interfaces" import { IContextMenu } from "~/interfaces"
export default { export default {
name: "resetnick", name: "resetnick",

View File

@@ -1,10 +1,10 @@
import { devMessage, embedColor, hypixelGuildID } from "config/options.js"
import { waitingListRole } from "config/roles.js"
import { ApplicationCommandType, ContextMenuCommandBuilder, PermissionFlagsBits, userMention } from "discord.js" import { ApplicationCommandType, ContextMenuCommandBuilder, PermissionFlagsBits, userMention } from "discord.js"
import { IContextMenu } from "interfaces"
import db from "src/drizzle/db.js" import db from "src/drizzle/db.js"
import roleManage from "utils/functions/rolesmanage.js" import { devMessage, embedColor, hypixelGuildID } from "~/config/options.js"
import { getGuild, getHeadURL, getIGN } from "utils/Hypixel.js" import { waitingListRole } from "~/config/roles.js"
import { IContextMenu } from "~/interfaces"
import roleManage from "~/utils/functions/rolesmanage.js"
import { getGuild, getHeadURL, getIGN } from "~/utils/Hypixel.js"
export default { export default {
name: "Update User", name: "Update User",

View File

@@ -1,7 +1,7 @@
import { anilist } from "anilist" import { anilist } from "anilist"
import { devMessage, embedColor } from "config/options.js"
import { InteractionContextType, SlashCommandBuilder } from "discord.js" import { InteractionContextType, SlashCommandBuilder } from "discord.js"
import { ICommand } from "interfaces" import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
export default { export default {
name: "anime", name: "anime",

View File

@@ -1,8 +1,8 @@
import { devMessage, embedColor } from "config/options.js"
import { admin, helper } from "config/roles.js"
import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js" import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
import { ICommand } from "interfaces" import { devMessage, embedColor } from "~/config/options.js"
import logToChannel from "utils/functions/logtochannel.js" import { admin, helper } from "~/config/roles.js"
import { ICommand } from "~/interfaces"
import logToChannel from "~/utils/functions/logtochannel.js"
export default { export default {
name: "ban", name: "ban",

View File

@@ -1,10 +1,10 @@
import { execSync } from "child_process" import { execSync } from "child_process"
import { devMessage, embedColor } from "config/options.js"
import { InteractionContextType, SlashCommandBuilder } from "discord.js" import { InteractionContextType, SlashCommandBuilder } from "discord.js"
import { ICommand } from "interfaces"
import { createRequire } from "node:module" import { createRequire } from "node:module"
import os from "os" import os from "os"
import prettyMs from "pretty-ms" import prettyMs from "pretty-ms"
import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
const require = createRequire(import.meta.url) const require = createRequire(import.meta.url)
const { dependencies, devDependencies } = require("../../package.json") const { dependencies, devDependencies } = require("../../package.json")

View File

@@ -1,8 +1,8 @@
import { devMessage, embedColor } from "config/options.js"
import { bwfkdr, bwstars, bwwins, duelswins, duelswlr, swkdr, swstars } from "config/reqs.js"
import { InteractionContextType, SlashCommandBuilder } from "discord.js" import { InteractionContextType, SlashCommandBuilder } from "discord.js"
import { ICommand } from "interfaces" import { devMessage, embedColor } from "~/config/options.js"
import { bedwarsLevel, getGuild, getHeadURL, getPlayer, getUUID, hypixelLevel, skywarsLevel } from "utils/Hypixel.js" import { bwfkdr, bwstars, bwwins, duelswins, duelswlr, swkdr, swstars } from "~/config/reqs.js"
import { ICommand } from "~/interfaces"
import { bedwarsLevel, getGuild, getHeadURL, getPlayer, getUUID, hypixelLevel, skywarsLevel } from "~/utils/Hypixel.js"
export default { export default {
name: "check", name: "check",

View File

@@ -1,7 +1,7 @@
import { embedColor } from "config/options.js"
import { channelMention, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, TextChannel, userMention } from "discord.js" import { channelMention, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, TextChannel, userMention } from "discord.js"
import { ICommand } from "interfaces" import { embedColor } from "~/config/options.js"
import logToChannel from "utils/functions/logtochannel.js" import { ICommand } from "~/interfaces"
import logToChannel from "~/utils/functions/logtochannel.js"
export default { export default {
name: "clear", name: "clear",

View File

@@ -1,9 +1,9 @@
import { embedColor } from "config/options.js"
import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder } from "discord.js" import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder } from "discord.js"
import { eq } from "drizzle-orm" import { eq } from "drizzle-orm"
import { ICommand } from "interfaces"
import db from "src/drizzle/db.js" import db from "src/drizzle/db.js"
import { settings } from "src/drizzle/schema.js" import { settings } from "src/drizzle/schema.js"
import { embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
export default { export default {
name: "config", name: "config",

View File

@@ -1,6 +1,6 @@
import { devMessage, embedColor } from "config/options.js"
import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder } from "discord.js" import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder } from "discord.js"
import { ICommand } from "interfaces" import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
import ban from "./counting/ban.js" import ban from "./counting/ban.js"
import unban from "./counting/unban.js" import unban from "./counting/unban.js"

View File

@@ -1,6 +1,6 @@
import { devMessage, embedColor } from "config/options.js"
import { countingBanned } from "config/roles.js"
import { ChatInputCommandInteraction, GuildMember, userMention } from "discord.js" import { ChatInputCommandInteraction, GuildMember, userMention } from "discord.js"
import { devMessage, embedColor } from "~/config/options.js"
import { countingBanned } from "~/config/roles.js"
export default async function ban(interaction: ChatInputCommandInteraction): Promise<void> { export default async function ban(interaction: ChatInputCommandInteraction): Promise<void> {
const member = interaction.options.getMember("user")! as GuildMember const member = interaction.options.getMember("user")! as GuildMember

View File

@@ -1,6 +1,6 @@
import { devMessage, embedColor } from "config/options.js"
import { countingBanned } from "config/roles.js"
import { ChatInputCommandInteraction, GuildMember, userMention } from "discord.js" import { ChatInputCommandInteraction, GuildMember, userMention } from "discord.js"
import { devMessage, embedColor } from "~/config/options.js"
import { countingBanned } from "~/config/roles.js"
export default async function ban(interaction: ChatInputCommandInteraction): Promise<void> { export default async function ban(interaction: ChatInputCommandInteraction): Promise<void> {
const member = interaction.options.getMember("user")! as GuildMember const member = interaction.options.getMember("user")! as GuildMember

View File

@@ -1,8 +1,8 @@
import { devMessage, embedColor } from "config/options.js"
import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js" import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
import { ICommand } from "interfaces"
import db from "src/drizzle/db.js" import db from "src/drizzle/db.js"
import { getHeadURL, getIGN, getUUID } from "utils/Hypixel.js" import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
import { getHeadURL, getIGN, getUUID } from "~/utils/Hypixel.js"
export default { export default {
name: "find", name: "find",

View File

@@ -1,12 +1,12 @@
import { devMessage, embedColor } from "config/options.js"
import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js" import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
import { eq } from "drizzle-orm" import { eq } from "drizzle-orm"
import { ICommand } from "interfaces"
import db from "src/drizzle/db.js" import db from "src/drizzle/db.js"
import { verifies } from "src/drizzle/schema.js" import { verifies } from "src/drizzle/schema.js"
import logToChannel from "utils/functions/logtochannel.js" import { devMessage, embedColor } from "~/config/options.js"
import roleManage from "utils/functions/rolesmanage.js" import { ICommand } from "~/interfaces"
import { getIGN } from "utils/Hypixel.js" import logToChannel from "~/utils/functions/logtochannel.js"
import roleManage from "~/utils/functions/rolesmanage.js"
import { getIGN } from "~/utils/Hypixel.js"
export default { export default {
name: "forceunverify", name: "forceunverify",

View File

@@ -1,10 +1,10 @@
import { devMessage, embedColor, hypixelGuildID } from "config/options.js"
import { waitingListRole } from "config/roles.js"
import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js" import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
import { ICommand } from "interfaces"
import db from "src/drizzle/db.js" import db from "src/drizzle/db.js"
import roleManage from "utils/functions/rolesmanage.js" import { devMessage, embedColor, hypixelGuildID } from "~/config/options.js"
import { getGuild, getHeadURL, getIGN } from "utils/Hypixel.js" import { waitingListRole } from "~/config/roles.js"
import { ICommand } from "~/interfaces"
import roleManage from "~/utils/functions/rolesmanage.js"
import { getGuild, getHeadURL, getIGN } from "~/utils/Hypixel.js"
export default { export default {
name: "forceupdate", name: "forceupdate",

View File

@@ -1,11 +1,11 @@
import { devMessage, embedColor, hypixelGuildID } from "config/options.js"
import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js" import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
import { ICommand } from "interfaces"
import db from "src/drizzle/db.js" import db from "src/drizzle/db.js"
import { verifies } from "src/drizzle/schema.js" import { verifies } from "src/drizzle/schema.js"
import logToChannel from "utils/functions/logtochannel.js" import { devMessage, embedColor, hypixelGuildID } from "~/config/options.js"
import roleManage from "utils/functions/rolesmanage.js" import { ICommand } from "~/interfaces"
import { getGuild, getHeadURL, getPlayer, getUUID } from "utils/Hypixel.js" import logToChannel from "~/utils/functions/logtochannel.js"
import roleManage from "~/utils/functions/rolesmanage.js"
import { getGuild, getHeadURL, getPlayer, getUUID } from "~/utils/Hypixel.js"
export default { export default {
name: "forceverify", name: "forceverify",

View File

@@ -1,6 +1,6 @@
import { devMessage, embedColor } from "config/options.js"
import { InteractionContextType, SlashCommandBuilder } from "discord.js" import { InteractionContextType, SlashCommandBuilder } from "discord.js"
import { ICommand } from "interfaces" import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
import guildInfo from "./guild/info.js" import guildInfo from "./guild/info.js"
import guildMember from "./guild/member.js" import guildMember from "./guild/member.js"
import guildTop from "./guild/top.js" import guildTop from "./guild/top.js"

View File

@@ -1,7 +1,7 @@
import { devMessage, embedColor } from "config/options.js"
import { ChatInputCommandInteraction } from "discord.js" import { ChatInputCommandInteraction } from "discord.js"
import { IGuildData } from "interfaces" import { devMessage, embedColor } from "~/config/options.js"
import { getGuild, getIGN, getPlayer, getUUID, guildLevel } from "utils/Hypixel.js" import { IGuildData } from "~/interfaces"
import { getGuild, getIGN, getPlayer, getUUID, guildLevel } from "~/utils/Hypixel.js"
export default async function guildInfo(interaction: ChatInputCommandInteraction): Promise<void> { export default async function guildInfo(interaction: ChatInputCommandInteraction): Promise<void> {
await interaction.deferReply() await interaction.deferReply()

View File

@@ -1,6 +1,6 @@
import { devMessage, embedColor } from "config/options.js"
import { ChatInputCommandInteraction } from "discord.js" import { ChatInputCommandInteraction } from "discord.js"
import { getGuild, getHeadURL, getPlayer, getUUID } from "utils/Hypixel.js" import { devMessage, embedColor } from "~/config/options.js"
import { getGuild, getHeadURL, getPlayer, getUUID } from "~/utils/Hypixel.js"
export default async function guildMember(interaction: ChatInputCommandInteraction): Promise<void> { export default async function guildMember(interaction: ChatInputCommandInteraction): Promise<void> {
await interaction.deferReply() await interaction.deferReply()

View File

@@ -1,8 +1,8 @@
import { devMessage, embedColor } from "config/options.js"
import { ChatInputCommandInteraction } from "discord.js" import { ChatInputCommandInteraction } from "discord.js"
import { IGuildData } from "interfaces" import { devMessage, embedColor } from "~/config/options.js"
import { getGuild, getIGN, getPlayer, getUUID } from "utils/Hypixel.js" import { IGuildData } from "~/interfaces"
import { redis } from "utils/Illegitimate.js" import { getGuild, getIGN, getPlayer, getUUID } from "~/utils/Hypixel.js"
import { redis } from "~/utils/Illegitimate.js"
export default async function guildTop(interaction: ChatInputCommandInteraction): Promise<void> { export default async function guildTop(interaction: ChatInputCommandInteraction): Promise<void> {
await interaction.deferReply() await interaction.deferReply()

View File

@@ -1,6 +1,6 @@
import { devMessage, embedColor } from "config/options.js"
import { ActionRowBuilder, ButtonBuilder, ButtonStyle, ComponentType, InteractionContextType, SlashCommandBuilder } from "discord.js" import { ActionRowBuilder, ButtonBuilder, ButtonStyle, ComponentType, InteractionContextType, SlashCommandBuilder } from "discord.js"
import { ICommand } from "interfaces" import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
export default { export default {
name: "help", name: "help",

View File

@@ -1,6 +1,6 @@
import { devMessage, embedColor, instructionsgif } from "config/options.js"
import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder } from "discord.js" import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder } from "discord.js"
import { ICommand } from "interfaces" import { devMessage, embedColor, instructionsgif } from "~/config/options.js"
import { ICommand } from "~/interfaces"
export default { export default {
name: "instructions", name: "instructions",

View File

@@ -1,8 +1,8 @@
import { devMessage, embedColor } from "config/options.js"
import { admin, helper } from "config/roles.js"
import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js" import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
import { ICommand } from "interfaces" import { devMessage, embedColor } from "~/config/options.js"
import logToChannel from "utils/functions/logtochannel.js" import { admin, helper } from "~/config/roles.js"
import { ICommand } from "~/interfaces"
import logToChannel from "~/utils/functions/logtochannel.js"
export default { export default {
name: "kick", name: "kick",

View File

@@ -1,5 +1,5 @@
import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder } from "discord.js" import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder } from "discord.js"
import { ICommand } from "interfaces" import { ICommand } from "~/interfaces"
import leave from "./music/leave.js" import leave from "./music/leave.js"
import nowplaying from "./music/nowplaying.js" import nowplaying from "./music/nowplaying.js"
import pause from "./music/pause.js" import pause from "./music/pause.js"

View File

@@ -1,6 +1,6 @@
import { embedColor } from "config/options.js"
import { useMainPlayer } from "discord-player" import { useMainPlayer } from "discord-player"
import { ChatInputCommandInteraction } from "discord.js" import { ChatInputCommandInteraction } from "discord.js"
import { embedColor } from "~/config/options.js"
export default async function leave(interaction: ChatInputCommandInteraction) { export default async function leave(interaction: ChatInputCommandInteraction) {
const player = useMainPlayer() const player = useMainPlayer()

View File

@@ -1,6 +1,6 @@
import { embedColor } from "config/options.js"
import { useMainPlayer } from "discord-player" import { useMainPlayer } from "discord-player"
import { ChatInputCommandInteraction } from "discord.js" import { ChatInputCommandInteraction } from "discord.js"
import { embedColor } from "~/config/options.js"
export default async function nowplaying(interaction: ChatInputCommandInteraction) { export default async function nowplaying(interaction: ChatInputCommandInteraction) {
await interaction.deferReply() await interaction.deferReply()

View File

@@ -1,6 +1,6 @@
import { embedColor } from "config/options.js"
import { useMainPlayer } from "discord-player" import { useMainPlayer } from "discord-player"
import { ChatInputCommandInteraction } from "discord.js" import { ChatInputCommandInteraction } from "discord.js"
import { embedColor } from "~/config/options.js"
export default async function pause(interaction: ChatInputCommandInteraction) { export default async function pause(interaction: ChatInputCommandInteraction) {
await interaction.deferReply() await interaction.deferReply()

View File

@@ -1,6 +1,6 @@
import { embedColor } from "config/options.js"
import { useMainPlayer } from "discord-player" import { useMainPlayer } from "discord-player"
import { ChatInputCommandInteraction, GuildMember } from "discord.js" import { ChatInputCommandInteraction, GuildMember } from "discord.js"
import { embedColor } from "~/config/options.js"
export default async function play(interaction: ChatInputCommandInteraction) { export default async function play(interaction: ChatInputCommandInteraction) {
await interaction.deferReply() await interaction.deferReply()

View File

@@ -1,6 +1,6 @@
import { embedColor } from "config/options.js"
import { useMainPlayer } from "discord-player" import { useMainPlayer } from "discord-player"
import { ChatInputCommandInteraction } from "discord.js" import { ChatInputCommandInteraction } from "discord.js"
import { embedColor } from "~/config/options.js"
export default async function queue(interaction: ChatInputCommandInteraction) { export default async function queue(interaction: ChatInputCommandInteraction) {
await interaction.deferReply() await interaction.deferReply()

View File

@@ -1,6 +1,6 @@
import { embedColor } from "config/options.js"
import { useMainPlayer } from "discord-player" import { useMainPlayer } from "discord-player"
import { ChatInputCommandInteraction } from "discord.js" import { ChatInputCommandInteraction } from "discord.js"
import { embedColor } from "~/config/options.js"
export default async function skip(interaction: ChatInputCommandInteraction) { export default async function skip(interaction: ChatInputCommandInteraction) {
await interaction.deferReply() await interaction.deferReply()

View File

@@ -1,6 +1,6 @@
import { embedColor } from "config/options.js"
import { useMainPlayer } from "discord-player" import { useMainPlayer } from "discord-player"
import { ChatInputCommandInteraction } from "discord.js" import { ChatInputCommandInteraction } from "discord.js"
import { embedColor } from "~/config/options.js"
export default async function pause(interaction: ChatInputCommandInteraction) { export default async function pause(interaction: ChatInputCommandInteraction) {
await interaction.deferReply() await interaction.deferReply()

View File

@@ -1,6 +1,6 @@
import { embedColor } from "config/options.js"
import { useMainPlayer } from "discord-player" import { useMainPlayer } from "discord-player"
import { ChatInputCommandInteraction } from "discord.js" import { ChatInputCommandInteraction } from "discord.js"
import { embedColor } from "~/config/options.js"
export default async function volume(interaction: ChatInputCommandInteraction) { export default async function volume(interaction: ChatInputCommandInteraction) {
await interaction.deferReply() await interaction.deferReply()

View File

@@ -1,6 +1,6 @@
import { devMessage, embedColor } from "config/options.js"
import { InteractionContextType, SlashCommandBuilder } from "discord.js" import { InteractionContextType, SlashCommandBuilder } from "discord.js"
import { ICommand } from "interfaces" import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
export default { export default {
name: "ping", name: "ping",

View File

@@ -1,7 +1,7 @@
import { embedColor } from "config/options.js"
import { InteractionContextType, SlashCommandBuilder, User } from "discord.js" import { InteractionContextType, SlashCommandBuilder, User } from "discord.js"
import { ICommand } from "interfaces" import { embedColor } from "~/config/options.js"
import env from "utils/Env.js" import { ICommand } from "~/interfaces"
import env from "~/utils/Env.js"
export default { export default {
name: "pp", name: "pp",

View File

@@ -1,11 +1,11 @@
import { devMessage, embedColor } from "config/options.js"
import { waitingListRole } from "config/roles.js"
import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js" import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
import { eq } from "drizzle-orm" import { eq } from "drizzle-orm"
import { ICommand } from "interfaces"
import db from "src/drizzle/db.js" import db from "src/drizzle/db.js"
import { waitingLists } from "src/drizzle/schema.js" import { waitingLists } from "src/drizzle/schema.js"
import logToChannel from "utils/functions/logtochannel.js" import { devMessage, embedColor } from "~/config/options.js"
import { waitingListRole } from "~/config/roles.js"
import { ICommand } from "~/interfaces"
import logToChannel from "~/utils/functions/logtochannel.js"
export default { export default {
name: "remove", name: "remove",

View File

@@ -1,7 +1,7 @@
import { devMessage, embedColor } from "config/options.js"
import { bwfkdr, bwstars, bwwins, duelswins, duelswlr, swkdr, swstars } from "config/reqs.js"
import { InteractionContextType, SlashCommandBuilder } from "discord.js" import { InteractionContextType, SlashCommandBuilder } from "discord.js"
import { ICommand } from "interfaces" import { devMessage, embedColor } from "~/config/options.js"
import { bwfkdr, bwstars, bwwins, duelswins, duelswlr, swkdr, swstars } from "~/config/reqs.js"
import { ICommand } from "~/interfaces"
export default { export default {
name: "reqs", name: "reqs",

View File

@@ -1,6 +1,6 @@
import { devMessage, embedColor } from "config/options.js"
import { ChannelType, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, TextChannel } from "discord.js" import { ChannelType, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, TextChannel } from "discord.js"
import { ICommand } from "interfaces" import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
export default { export default {
name: "send", name: "send",

View File

@@ -1,7 +1,7 @@
import { devMessage, embedColor } from "config/options.js"
import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js" import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
import { ICommand } from "interfaces" import { devMessage, embedColor } from "~/config/options.js"
import logToChannel from "utils/functions/logtochannel.js" import { ICommand } from "~/interfaces"
import logToChannel from "~/utils/functions/logtochannel.js"
export default { export default {
name: "setnick", name: "setnick",

View File

@@ -1,4 +1,3 @@
import { devMessage, embedColor } from "config/options.js"
import { import {
ActionRowBuilder, ActionRowBuilder,
ButtonBuilder, ButtonBuilder,
@@ -9,7 +8,8 @@ import {
SlashCommandBuilder, SlashCommandBuilder,
TextChannel TextChannel
} from "discord.js" } from "discord.js"
import { ICommand } from "interfaces" import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
export default { export default {
name: "setup", name: "setup",

View File

@@ -1,7 +1,7 @@
import { devMessage, embedColor } from "config/options.js"
import { channelMention, ChannelType, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, TextChannel, userMention } from "discord.js" import { channelMention, ChannelType, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, TextChannel, userMention } from "discord.js"
import { ICommand } from "interfaces" import { devMessage, embedColor } from "~/config/options.js"
import logToChannel from "utils/functions/logtochannel.js" import { ICommand } from "~/interfaces"
import logToChannel from "~/utils/functions/logtochannel.js"
export default { export default {
name: "slowmode", name: "slowmode",

View File

@@ -1,6 +1,6 @@
import { devMessage, embedColor } from "config/options.js"
import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder } from "discord.js" import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder } from "discord.js"
import { ICommand } from "interfaces" import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
import beast from "./staff/beast.js" import beast from "./staff/beast.js"
import help from "./staff/help.js" import help from "./staff/help.js"
import prune from "./staff/prune.js" import prune from "./staff/prune.js"

View File

@@ -1,7 +1,7 @@
import { devMessage, embedColor } from "config/options.js"
import { beastbwfkdr, beastbwstars, beastduelswins, beastswkdr, beastswstars, bwwins, duelswlr } from "config/reqs.js"
import { ChatInputCommandInteraction } from "discord.js" import { ChatInputCommandInteraction } from "discord.js"
import { bedwarsLevel, getGuild, getHeadURL, getPlayer, getUUID, hypixelLevel, skywarsLevel } from "utils/Hypixel.js" import { devMessage, embedColor } from "~/config/options.js"
import { beastbwfkdr, beastbwstars, beastduelswins, beastswkdr, beastswstars, bwwins, duelswlr } from "~/config/reqs.js"
import { bedwarsLevel, getGuild, getHeadURL, getPlayer, getUUID, hypixelLevel, skywarsLevel } from "~/utils/Hypixel.js"
export default async function beast(interaction: ChatInputCommandInteraction): Promise<void> { export default async function beast(interaction: ChatInputCommandInteraction): Promise<void> {
await interaction.deferReply() await interaction.deferReply()

View File

@@ -1,6 +1,6 @@
import { devMessage, embedColor } from "config/options.js"
import { ActionRowBuilder, ButtonBuilder, ButtonStyle, ChatInputCommandInteraction, ComponentType } from "discord.js" import { ActionRowBuilder, ButtonBuilder, ButtonStyle, ChatInputCommandInteraction, ComponentType } from "discord.js"
import { ExtendedClient as Client } from "utils/Client.js" import { devMessage, embedColor } from "~/config/options.js"
import { ExtendedClient as Client } from "~/utils/Client.js"
export default async function help(interaction: ChatInputCommandInteraction, client: Client): Promise<void> { export default async function help(interaction: ChatInputCommandInteraction, client: Client): Promise<void> {
await interaction.deferReply() await interaction.deferReply()

View File

@@ -1,6 +1,6 @@
import { devMessage, embedColor } from "config/options.js"
import { ActionRowBuilder, ButtonBuilder, ButtonInteraction, ButtonStyle, ChatInputCommandInteraction, ComponentType } from "discord.js" import { ActionRowBuilder, ButtonBuilder, ButtonInteraction, ButtonStyle, ChatInputCommandInteraction, ComponentType } from "discord.js"
import env from "utils/Env.js" import { devMessage, embedColor } from "~/config/options.js"
import env from "~/utils/Env.js"
export default async function prune(interaction: ChatInputCommandInteraction): Promise<void> { export default async function prune(interaction: ChatInputCommandInteraction): Promise<void> {
await interaction.deferReply() await interaction.deferReply()

View File

@@ -1,10 +1,10 @@
import { embedColor, hypixelGuildID } from "config/options.js"
import { ChatInputCommandInteraction, GuildMember } from "discord.js" import { ChatInputCommandInteraction, GuildMember } from "discord.js"
import { IGuildData } from "interfaces"
import db from "src/drizzle/db.js" import db from "src/drizzle/db.js"
import env from "utils/Env.js" import { embedColor, hypixelGuildID } from "~/config/options.js"
import roleManage from "utils/functions/rolesmanage.js" import { IGuildData } from "~/interfaces"
import { getGuild } from "utils/Hypixel.js" import env from "~/utils/Env.js"
import roleManage from "~/utils/functions/rolesmanage.js"
import { getGuild } from "~/utils/Hypixel.js"
export default async function removeGuildRoles(interaction: ChatInputCommandInteraction): Promise<void> { export default async function removeGuildRoles(interaction: ChatInputCommandInteraction): Promise<void> {
await interaction.deferReply() await interaction.deferReply()

View File

@@ -1,11 +1,11 @@
import { embedColor, hypixelGuildID } from "config/options.js"
import { ChannelType, ChatInputCommandInteraction, GuildMember } from "discord.js" import { ChannelType, ChatInputCommandInteraction, GuildMember } from "discord.js"
import { IGuildData } from "interfaces"
import db from "src/drizzle/db.js" import db from "src/drizzle/db.js"
import env from "utils/Env.js" import { embedColor, hypixelGuildID } from "~/config/options.js"
import { color } from "utils/functions/colors.js" import { IGuildData } from "~/interfaces"
import roleManage from "utils/functions/rolesmanage.js" import env from "~/utils/Env.js"
import { getGuild, getIGN } from "utils/Hypixel.js" import { color } from "~/utils/functions/colors.js"
import roleManage from "~/utils/functions/rolesmanage.js"
import { getGuild, getIGN } from "~/utils/Hypixel.js"
export default async function updateAll(interaction: ChatInputCommandInteraction): Promise<void> { export default async function updateAll(interaction: ChatInputCommandInteraction): Promise<void> {
await interaction.deferReply() await interaction.deferReply()

View File

@@ -1,9 +1,9 @@
import { devMessage, embedColor } from "config/options.js"
import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js" import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
import { ICommand } from "interfaces"
import ms from "ms" import ms from "ms"
import prettyMs from "pretty-ms" import prettyMs from "pretty-ms"
import logToChannel from "utils/functions/logtochannel.js" import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
import logToChannel from "~/utils/functions/logtochannel.js"
export default { export default {
name: "timeout", name: "timeout",

View File

@@ -1,7 +1,7 @@
import { devMessage, embedColor } from "config/options.js"
import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, User, userMention } from "discord.js" import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, User, userMention } from "discord.js"
import { ICommand } from "interfaces" import { devMessage, embedColor } from "~/config/options.js"
import logToChannel from "utils/functions/logtochannel.js" import { ICommand } from "~/interfaces"
import logToChannel from "~/utils/functions/logtochannel.js"
export default { export default {
name: "unban", name: "unban",

View File

@@ -1,10 +1,10 @@
import { devMessage, embedColor, hypixelGuildID } from "config/options.js"
import { waitingListRole } from "config/roles.js"
import { GuildMember, InteractionContextType, SlashCommandBuilder } from "discord.js" import { GuildMember, InteractionContextType, SlashCommandBuilder } from "discord.js"
import { ICommand } from "interfaces"
import db from "src/drizzle/db.js" import db from "src/drizzle/db.js"
import roleManage from "utils/functions/rolesmanage.js" import { devMessage, embedColor, hypixelGuildID } from "~/config/options.js"
import { getGuild, getHeadURL, getIGN } from "utils/Hypixel.js" import { waitingListRole } from "~/config/roles.js"
import { ICommand } from "~/interfaces"
import roleManage from "~/utils/functions/rolesmanage.js"
import { getGuild, getHeadURL, getIGN } from "~/utils/Hypixel.js"
export default { export default {
name: "update", name: "update",

View File

@@ -1,7 +1,7 @@
import { devMessage, embedColor } from "config/options.js"
import { InteractionContextType, SlashCommandBuilder } from "discord.js" import { InteractionContextType, SlashCommandBuilder } from "discord.js"
import { ICommand } from "interfaces" import { devMessage, embedColor } from "~/config/options.js"
import { formatUuid, getHeadURL, getIGN, getUUID } from "utils/Hypixel.js" import { ICommand } from "~/interfaces"
import { formatUuid, getHeadURL, getIGN, getUUID } from "~/utils/Hypixel.js"
export default { export default {
name: "uuid", name: "uuid",

View File

@@ -1,12 +1,12 @@
import { devMessage, embedColor, hypixelGuildID } from "config/options.js"
import { GuildMember, InteractionContextType, SlashCommandBuilder } from "discord.js" import { GuildMember, InteractionContextType, SlashCommandBuilder } from "discord.js"
import { ICommand } from "interfaces"
import { IPlayerData } from "interfaces"
import { IGuildData } from "interfaces"
import db from "src/drizzle/db.js" import db from "src/drizzle/db.js"
import { verifies } from "src/drizzle/schema.js" import { verifies } from "src/drizzle/schema.js"
import roleManage from "utils/functions/rolesmanage.js" import { devMessage, embedColor, hypixelGuildID } from "~/config/options.js"
import { getGuild, getHeadURL, getPlayer, getUUID } from "utils/Hypixel.js" import { ICommand } from "~/interfaces"
import { IPlayerData } from "~/interfaces"
import { IGuildData } from "~/interfaces"
import roleManage from "~/utils/functions/rolesmanage.js"
import { getGuild, getHeadURL, getPlayer, getUUID } from "~/utils/Hypixel.js"
export default { export default {
name: "verify", name: "verify",

View File

@@ -1,8 +1,8 @@
import { devMessage, embedColor } from "config/options.js"
import { InteractionContextType, SlashCommandBuilder, userMention } from "discord.js" import { InteractionContextType, SlashCommandBuilder, userMention } from "discord.js"
import { ICommand } from "interfaces"
import db from "src/drizzle/db.js" import db from "src/drizzle/db.js"
import { getHeadURL, getIGN } from "utils/Hypixel.js" import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
import { getHeadURL, getIGN } from "~/utils/Hypixel.js"
export default { export default {
name: "whoami", name: "whoami",

View File

@@ -1,8 +1,8 @@
import { devMessage, embedColor } from "config/options.js"
import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js" import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
import { ICommand } from "interfaces"
import db from "src/drizzle/db.js" import db from "src/drizzle/db.js"
import { getHeadURL, getIGN } from "utils/Hypixel.js" import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
import { getHeadURL, getIGN } from "~/utils/Hypixel.js"
export default { export default {
name: "whois", name: "whois",

View File

@@ -1,5 +1,5 @@
import { QueryType, useMainPlayer } from "discord-player" import { QueryType, useMainPlayer } from "discord-player"
import { IAutocomplete } from "interfaces" import { IAutocomplete } from "~/interfaces"
export default { export default {
name: "music", name: "music",

View File

@@ -1,4 +1,4 @@
import { IAutocomplete } from "interfaces" import { IAutocomplete } from "~/interfaces"
export default { export default {
name: "unban", name: "unban",

View File

@@ -1,8 +1,8 @@
import { devMessage, embedColor } from "config/options.js"
import { bwfkdr, bwstars, bwwins, duelswins, duelswlr, swkdr, swstars } from "config/reqs.js"
import { IButton } from "interfaces"
import db from "src/drizzle/db.js" import db from "src/drizzle/db.js"
import { bedwarsLevel, getGuild, getHeadURL, getPlayer, hypixelLevel, skywarsLevel } from "utils/Hypixel.js" import { devMessage, embedColor } from "~/config/options.js"
import { bwfkdr, bwstars, bwwins, duelswins, duelswlr, swkdr, swstars } from "~/config/reqs.js"
import { IButton } from "~/interfaces"
import { bedwarsLevel, getGuild, getHeadURL, getPlayer, hypixelLevel, skywarsLevel } from "~/utils/Hypixel.js"
export default { export default {
name: "checkstats", name: "checkstats",

View File

@@ -1,12 +1,12 @@
import { embedColor, hypixelGuildID, waitingListChannel, waitingListMessage } from "config/options.js"
import { waitingListRole } from "config/roles.js"
import { ActionRowBuilder, ButtonBuilder, ButtonStyle, TextChannel } from "discord.js" import { ActionRowBuilder, ButtonBuilder, ButtonStyle, TextChannel } from "discord.js"
import { eq } from "drizzle-orm" import { eq } from "drizzle-orm"
import { IButton } from "interfaces"
import db from "src/drizzle/db.js" import db from "src/drizzle/db.js"
import { guildApps, waitingLists } from "src/drizzle/schema.js" import { guildApps, waitingLists } from "src/drizzle/schema.js"
import { color } from "utils/functions/colors.js" import { embedColor, hypixelGuildID, waitingListChannel, waitingListMessage } from "~/config/options.js"
import { getGuild, getIGN } from "utils/Hypixel.js" import { waitingListRole } from "~/config/roles.js"
import { IButton } from "~/interfaces"
import { color } from "~/utils/functions/colors.js"
import { getGuild, getIGN } from "~/utils/Hypixel.js"
export default { export default {
name: "guildapplicationaccept", name: "guildapplicationaccept",

View File

@@ -1,5 +1,5 @@
import { ActionRowBuilder, ModalBuilder, TextInputBuilder, TextInputStyle } from "discord.js" import { ActionRowBuilder, ModalBuilder, TextInputBuilder, TextInputStyle } from "discord.js"
import { IButton } from "interfaces" import { IButton } from "~/interfaces"
export default { export default {
name: "guildapplicationdeny", name: "guildapplicationdeny",

View File

@@ -1,12 +1,12 @@
import { ignM, largeM, smallM } from "config/limitmessages.js"
import { applicationsChannel, embedColor } from "config/options.js"
import { guild as guildQuestions } from "config/questions.js"
import { guildRole } from "config/roles.js"
import { ActionRowBuilder, ButtonBuilder, ButtonStyle, GuildMember, TextChannel } from "discord.js" import { ActionRowBuilder, ButtonBuilder, ButtonStyle, GuildMember, TextChannel } from "discord.js"
import { IButton } from "interfaces"
import db from "src/drizzle/db.js" import db from "src/drizzle/db.js"
import { guildApps } from "src/drizzle/schema.js" import { guildApps } from "src/drizzle/schema.js"
import applicationQuestions from "utils/functions/applicationquestions.js" import { ignM, largeM, smallM } from "~/config/limitmessages.js"
import { applicationsChannel, embedColor } from "~/config/options.js"
import { guild as guildQuestions } from "~/config/questions.js"
import { guildRole } from "~/config/roles.js"
import { IButton } from "~/interfaces"
import applicationQuestions from "~/utils/functions/applicationquestions.js"
export default { export default {
name: "guildapply", name: "guildapply",

View File

@@ -1,10 +1,10 @@
import { ignM, largeM, smallM } from "config/limitmessages.js"
import { embedColor, inactivityLogChannel } from "config/options.js"
import { inactivity } from "config/questions.js"
import { beast, gm, guildRole, guildStaff, manager, member, moderator } from "config/roles.js"
import { ActionRowBuilder, ButtonBuilder, ButtonStyle, GuildMember, TextChannel } from "discord.js" import { ActionRowBuilder, ButtonBuilder, ButtonStyle, GuildMember, TextChannel } from "discord.js"
import { IButton } from "interfaces" import { ignM, largeM, smallM } from "~/config/limitmessages.js"
import applicationQuestions from "utils/functions/applicationquestions.js" import { embedColor, inactivityLogChannel } from "~/config/options.js"
import { inactivity } from "~/config/questions.js"
import { beast, gm, guildRole, guildStaff, manager, member, moderator } from "~/config/roles.js"
import { IButton } from "~/interfaces"
import applicationQuestions from "~/utils/functions/applicationquestions.js"
const guildRoles = [gm, manager, moderator, beast, member, guildStaff, guildRole] const guildRoles = [gm, manager, moderator, beast, member, guildStaff, guildRole]
export default { export default {

View File

@@ -1,4 +1,4 @@
import { IButton } from "interfaces" import { IButton } from "~/interfaces"
export default { export default {
name: "inactiveapplicationaccept", name: "inactiveapplicationaccept",

View File

@@ -1,4 +1,4 @@
import { IButton } from "interfaces" import { IButton } from "~/interfaces"
export default { export default {
name: "inactiveapplicationdeny", name: "inactiveapplicationdeny",

View File

@@ -1,9 +1,9 @@
import { embedColor } from "config/options.js"
import { ActionRowBuilder, ButtonBuilder, ButtonStyle } from "discord.js" import { ActionRowBuilder, ButtonBuilder, ButtonStyle } from "discord.js"
import { eq } from "drizzle-orm" import { eq } from "drizzle-orm"
import { IButton } from "interfaces"
import db from "src/drizzle/db.js" import db from "src/drizzle/db.js"
import { staffApps } from "src/drizzle/schema.js" import { staffApps } from "src/drizzle/schema.js"
import { embedColor } from "~/config/options.js"
import { IButton } from "~/interfaces"
export default { export default {
name: "staffapplicationaccept", name: "staffapplicationaccept",

View File

@@ -1,5 +1,5 @@
import { ActionRowBuilder, ModalBuilder, TextInputBuilder, TextInputStyle } from "discord.js" import { ActionRowBuilder, ModalBuilder, TextInputBuilder, TextInputStyle } from "discord.js"
import { IButton } from "interfaces" import { IButton } from "~/interfaces"
export default { export default {
name: "staffapplicationdeny", name: "staffapplicationdeny",

View File

@@ -1,13 +1,13 @@
import { ignM, largeM } from "config/limitmessages.js"
import { embedColor, staffApplicationsChannel } from "config/options.js"
import { staff as staffQuestions } from "config/questions.js"
import { guildRole, guildStaff } from "config/roles.js"
import { ActionRowBuilder, ButtonBuilder, ButtonStyle, GuildMember, TextChannel } from "discord.js" import { ActionRowBuilder, ButtonBuilder, ButtonStyle, GuildMember, TextChannel } from "discord.js"
import { IButton } from "interfaces"
import db from "src/drizzle/db.js" import db from "src/drizzle/db.js"
import { staffApps } from "src/drizzle/schema.js" import { staffApps } from "src/drizzle/schema.js"
import env from "utils/Env.js" import { ignM, largeM } from "~/config/limitmessages.js"
import applicationQuestions from "utils/functions/applicationquestions.js" import { embedColor, staffApplicationsChannel } from "~/config/options.js"
import { staff as staffQuestions } from "~/config/questions.js"
import { guildRole, guildStaff } from "~/config/roles.js"
import { IButton } from "~/interfaces"
import env from "~/utils/Env.js"
import applicationQuestions from "~/utils/functions/applicationquestions.js"
export default { export default {
name: "staffapply", name: "staffapply",

View File

@@ -1,5 +1,5 @@
import { ActionRowBuilder, ModalBuilder, TextInputBuilder, TextInputStyle } from "discord.js" import { ActionRowBuilder, ModalBuilder, TextInputBuilder, TextInputStyle } from "discord.js"
import { IButton } from "interfaces" import { IButton } from "~/interfaces"
export default { export default {
name: "verify", name: "verify",

View File

@@ -1,9 +1,9 @@
import { hypixelGuildID } from "config/options.js"
import { eq } from "drizzle-orm" import { eq } from "drizzle-orm"
import { IButton } from "interfaces"
import db from "src/drizzle/db.js" import db from "src/drizzle/db.js"
import { waitingLists } from "src/drizzle/schema.js" import { waitingLists } from "src/drizzle/schema.js"
import { getGuild, getIGN } from "utils/Hypixel.js" import { hypixelGuildID } from "~/config/options.js"
import { IButton } from "~/interfaces"
import { getGuild, getIGN } from "~/utils/Hypixel.js"
export default { export default {
name: "waitinglistupdate", name: "waitinglistupdate",

View File

@@ -1,9 +1,9 @@
import { embedColor } from "config/options.js"
import { ActionRowBuilder, ButtonBuilder, ButtonStyle, EmbedBuilder, GuildMember, Message } from "discord.js" import { ActionRowBuilder, ButtonBuilder, ButtonStyle, EmbedBuilder, GuildMember, Message } from "discord.js"
import { eq } from "drizzle-orm" import { eq } from "drizzle-orm"
import { IModal } from "interfaces"
import db from "src/drizzle/db.js" import db from "src/drizzle/db.js"
import { guildApps } from "src/drizzle/schema.js" import { guildApps } from "src/drizzle/schema.js"
import { embedColor } from "~/config/options.js"
import { IModal } from "~/interfaces"
export default { export default {
name: "denyreasonbox", name: "denyreasonbox",

View File

@@ -1,9 +1,9 @@
import { embedColor } from "config/options.js"
import { ActionRowBuilder, ButtonBuilder, ButtonStyle, EmbedBuilder } from "discord.js" import { ActionRowBuilder, ButtonBuilder, ButtonStyle, EmbedBuilder } from "discord.js"
import { eq } from "drizzle-orm" import { eq } from "drizzle-orm"
import { IModal } from "interfaces"
import db from "src/drizzle/db.js" import db from "src/drizzle/db.js"
import { staffApps } from "src/drizzle/schema.js" import { staffApps } from "src/drizzle/schema.js"
import { embedColor } from "~/config/options.js"
import { IModal } from "~/interfaces"
export default { export default {
name: "staffdenyreasonbox", name: "staffdenyreasonbox",

View File

@@ -1,10 +1,10 @@
import { devMessage, embedColor, hypixelGuildID } from "config/options.js"
import { GuildMember } from "discord.js" import { GuildMember } from "discord.js"
import { IModal } from "interfaces"
import db from "src/drizzle/db.js" import db from "src/drizzle/db.js"
import { verifies } from "src/drizzle/schema.js" import { verifies } from "src/drizzle/schema.js"
import roleManage from "utils/functions/rolesmanage.js" import { devMessage, embedColor, hypixelGuildID } from "~/config/options.js"
import { getGuild, getHeadURL, getPlayer, getUUID } from "utils/Hypixel.js" import { IModal } from "~/interfaces"
import roleManage from "~/utils/functions/rolesmanage.js"
import { getGuild, getHeadURL, getPlayer, getUUID } from "~/utils/Hypixel.js"
export default { export default {
name: "verifybox", name: "verifybox",

View File

@@ -1,6 +1,6 @@
import { drizzle } from "drizzle-orm/postgres-js" import { drizzle } from "drizzle-orm/postgres-js"
import postgres from "postgres" import postgres from "postgres"
import env from "utils/Env.js" import env from "~/utils/Env.js"
import * as schema from "./schema.js" import * as schema from "./schema.js"
const queryClient = postgres(env.prod.postgresURI) const queryClient = postgres(env.prod.postgresURI)

View File

@@ -0,0 +1,10 @@
ALTER TABLE "guildApps" ALTER COLUMN "userID" SET DATA TYPE varchar(32);--> statement-breakpoint
ALTER TABLE "guildApps" ALTER COLUMN "uuid" SET DATA TYPE varchar(32);--> statement-breakpoint
ALTER TABLE "settings" ALTER COLUMN "name" SET DATA TYPE varchar(32);--> statement-breakpoint
ALTER TABLE "settings" ALTER COLUMN "value" SET DATA TYPE varchar(256);--> statement-breakpoint
ALTER TABLE "staffApps" ALTER COLUMN "userID" SET DATA TYPE varchar(32);--> statement-breakpoint
ALTER TABLE "staffApps" ALTER COLUMN "uuid" SET DATA TYPE varchar(32);--> statement-breakpoint
ALTER TABLE "verifies" ALTER COLUMN "userID" SET DATA TYPE varchar(32);--> statement-breakpoint
ALTER TABLE "verifies" ALTER COLUMN "uuid" SET DATA TYPE varchar(32);--> statement-breakpoint
ALTER TABLE "waitingLists" ALTER COLUMN "userID" SET DATA TYPE varchar(32);--> statement-breakpoint
ALTER TABLE "waitingLists" ALTER COLUMN "uuid" SET DATA TYPE varchar(32);

View File

@@ -0,0 +1,9 @@
CREATE INDEX IF NOT EXISTS "guildapps_userid_index" ON "guildApps" USING btree ("userID");--> statement-breakpoint
CREATE INDEX IF NOT EXISTS "guildapps_uuid_index" ON "guildApps" USING btree ("uuid");--> statement-breakpoint
CREATE INDEX IF NOT EXISTS "settings_name_index" ON "settings" USING btree ("name");--> statement-breakpoint
CREATE INDEX IF NOT EXISTS "staffapps_userid_index" ON "staffApps" USING btree ("userID");--> statement-breakpoint
CREATE INDEX IF NOT EXISTS "staffapps_uuid_index" ON "staffApps" USING btree ("uuid");--> statement-breakpoint
CREATE INDEX IF NOT EXISTS "verifies_userid_index" ON "verifies" USING btree ("userID");--> statement-breakpoint
CREATE INDEX IF NOT EXISTS "verifies_uuid_index" ON "verifies" USING btree ("uuid");--> statement-breakpoint
CREATE INDEX IF NOT EXISTS "wl_userid_index" ON "waitingLists" USING btree ("userID");--> statement-breakpoint
CREATE INDEX IF NOT EXISTS "wl_uuid_index" ON "waitingLists" USING btree ("uuid");

View File

@@ -0,0 +1,232 @@
{
"id": "de8f78f2-dc26-427d-9c12-233b5d3fa301",
"prevId": "6343d646-6e68-4bcd-ae1e-5cecb4569268",
"version": "7",
"dialect": "postgresql",
"tables": {
"public.guildApps": {
"name": "guildApps",
"schema": "",
"columns": {
"id": {
"name": "id",
"type": "serial",
"primaryKey": true,
"notNull": true
},
"userID": {
"name": "userID",
"type": "varchar(32)",
"primaryKey": false,
"notNull": true
},
"uuid": {
"name": "uuid",
"type": "varchar(32)",
"primaryKey": false,
"notNull": true
},
"createdAt": {
"name": "createdAt",
"type": "timestamp",
"primaryKey": false,
"notNull": true,
"default": "now()"
},
"updatedAt": {
"name": "updatedAt",
"type": "timestamp",
"primaryKey": false,
"notNull": true,
"default": "now()"
}
},
"indexes": {},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
},
"public.settings": {
"name": "settings",
"schema": "",
"columns": {
"id": {
"name": "id",
"type": "serial",
"primaryKey": true,
"notNull": true
},
"name": {
"name": "name",
"type": "varchar(32)",
"primaryKey": false,
"notNull": true
},
"value": {
"name": "value",
"type": "varchar(256)",
"primaryKey": false,
"notNull": true
},
"createdAt": {
"name": "createdAt",
"type": "timestamp",
"primaryKey": false,
"notNull": true,
"default": "now()"
},
"updatedAt": {
"name": "updatedAt",
"type": "timestamp",
"primaryKey": false,
"notNull": true,
"default": "now()"
}
},
"indexes": {},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
},
"public.staffApps": {
"name": "staffApps",
"schema": "",
"columns": {
"id": {
"name": "id",
"type": "serial",
"primaryKey": true,
"notNull": true
},
"userID": {
"name": "userID",
"type": "varchar(32)",
"primaryKey": false,
"notNull": true
},
"uuid": {
"name": "uuid",
"type": "varchar(32)",
"primaryKey": false,
"notNull": true
},
"createdAt": {
"name": "createdAt",
"type": "timestamp",
"primaryKey": false,
"notNull": true,
"default": "now()"
},
"updatedAt": {
"name": "updatedAt",
"type": "timestamp",
"primaryKey": false,
"notNull": true,
"default": "now()"
}
},
"indexes": {},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
},
"public.verifies": {
"name": "verifies",
"schema": "",
"columns": {
"id": {
"name": "id",
"type": "serial",
"primaryKey": true,
"notNull": true
},
"userID": {
"name": "userID",
"type": "varchar(32)",
"primaryKey": false,
"notNull": true
},
"uuid": {
"name": "uuid",
"type": "varchar(32)",
"primaryKey": false,
"notNull": true
},
"createdAt": {
"name": "createdAt",
"type": "timestamp",
"primaryKey": false,
"notNull": true,
"default": "now()"
},
"updatedAt": {
"name": "updatedAt",
"type": "timestamp",
"primaryKey": false,
"notNull": true,
"default": "now()"
}
},
"indexes": {},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
},
"public.waitingLists": {
"name": "waitingLists",
"schema": "",
"columns": {
"id": {
"name": "id",
"type": "serial",
"primaryKey": true,
"notNull": true
},
"userID": {
"name": "userID",
"type": "varchar(32)",
"primaryKey": false,
"notNull": true
},
"uuid": {
"name": "uuid",
"type": "varchar(32)",
"primaryKey": false,
"notNull": true
},
"timestamp": {
"name": "timestamp",
"type": "bigint",
"primaryKey": false,
"notNull": true
},
"createdAt": {
"name": "createdAt",
"type": "timestamp",
"primaryKey": false,
"notNull": true,
"default": "now()"
},
"updatedAt": {
"name": "updatedAt",
"type": "timestamp",
"primaryKey": false,
"notNull": true,
"default": "now()"
}
},
"indexes": {},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
}
},
"enums": {},
"schemas": {},
"sequences": {},
"_meta": {
"columns": {},
"schemas": {},
"tables": {}
}
}

View File

@@ -0,0 +1,372 @@
{
"id": "85b695a3-72dd-4eb8-961b-0fe5220542ad",
"prevId": "de8f78f2-dc26-427d-9c12-233b5d3fa301",
"version": "7",
"dialect": "postgresql",
"tables": {
"public.guildApps": {
"name": "guildApps",
"schema": "",
"columns": {
"id": {
"name": "id",
"type": "serial",
"primaryKey": true,
"notNull": true
},
"userID": {
"name": "userID",
"type": "varchar(32)",
"primaryKey": false,
"notNull": true
},
"uuid": {
"name": "uuid",
"type": "varchar(32)",
"primaryKey": false,
"notNull": true
},
"createdAt": {
"name": "createdAt",
"type": "timestamp",
"primaryKey": false,
"notNull": true,
"default": "now()"
},
"updatedAt": {
"name": "updatedAt",
"type": "timestamp",
"primaryKey": false,
"notNull": true,
"default": "now()"
}
},
"indexes": {
"guildapps_userid_index": {
"name": "guildapps_userid_index",
"columns": [
{
"expression": "userID",
"isExpression": false,
"asc": true,
"nulls": "last"
}
],
"isUnique": false,
"concurrently": false,
"method": "btree",
"with": {}
},
"guildapps_uuid_index": {
"name": "guildapps_uuid_index",
"columns": [
{
"expression": "uuid",
"isExpression": false,
"asc": true,
"nulls": "last"
}
],
"isUnique": false,
"concurrently": false,
"method": "btree",
"with": {}
}
},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
},
"public.settings": {
"name": "settings",
"schema": "",
"columns": {
"id": {
"name": "id",
"type": "serial",
"primaryKey": true,
"notNull": true
},
"name": {
"name": "name",
"type": "varchar(32)",
"primaryKey": false,
"notNull": true
},
"value": {
"name": "value",
"type": "varchar(256)",
"primaryKey": false,
"notNull": true
},
"createdAt": {
"name": "createdAt",
"type": "timestamp",
"primaryKey": false,
"notNull": true,
"default": "now()"
},
"updatedAt": {
"name": "updatedAt",
"type": "timestamp",
"primaryKey": false,
"notNull": true,
"default": "now()"
}
},
"indexes": {
"settings_name_index": {
"name": "settings_name_index",
"columns": [
{
"expression": "name",
"isExpression": false,
"asc": true,
"nulls": "last"
}
],
"isUnique": false,
"concurrently": false,
"method": "btree",
"with": {}
}
},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
},
"public.staffApps": {
"name": "staffApps",
"schema": "",
"columns": {
"id": {
"name": "id",
"type": "serial",
"primaryKey": true,
"notNull": true
},
"userID": {
"name": "userID",
"type": "varchar(32)",
"primaryKey": false,
"notNull": true
},
"uuid": {
"name": "uuid",
"type": "varchar(32)",
"primaryKey": false,
"notNull": true
},
"createdAt": {
"name": "createdAt",
"type": "timestamp",
"primaryKey": false,
"notNull": true,
"default": "now()"
},
"updatedAt": {
"name": "updatedAt",
"type": "timestamp",
"primaryKey": false,
"notNull": true,
"default": "now()"
}
},
"indexes": {
"staffapps_userid_index": {
"name": "staffapps_userid_index",
"columns": [
{
"expression": "userID",
"isExpression": false,
"asc": true,
"nulls": "last"
}
],
"isUnique": false,
"concurrently": false,
"method": "btree",
"with": {}
},
"staffapps_uuid_index": {
"name": "staffapps_uuid_index",
"columns": [
{
"expression": "uuid",
"isExpression": false,
"asc": true,
"nulls": "last"
}
],
"isUnique": false,
"concurrently": false,
"method": "btree",
"with": {}
}
},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
},
"public.verifies": {
"name": "verifies",
"schema": "",
"columns": {
"id": {
"name": "id",
"type": "serial",
"primaryKey": true,
"notNull": true
},
"userID": {
"name": "userID",
"type": "varchar(32)",
"primaryKey": false,
"notNull": true
},
"uuid": {
"name": "uuid",
"type": "varchar(32)",
"primaryKey": false,
"notNull": true
},
"createdAt": {
"name": "createdAt",
"type": "timestamp",
"primaryKey": false,
"notNull": true,
"default": "now()"
},
"updatedAt": {
"name": "updatedAt",
"type": "timestamp",
"primaryKey": false,
"notNull": true,
"default": "now()"
}
},
"indexes": {
"verifies_userid_index": {
"name": "verifies_userid_index",
"columns": [
{
"expression": "userID",
"isExpression": false,
"asc": true,
"nulls": "last"
}
],
"isUnique": false,
"concurrently": false,
"method": "btree",
"with": {}
},
"verifies_uuid_index": {
"name": "verifies_uuid_index",
"columns": [
{
"expression": "uuid",
"isExpression": false,
"asc": true,
"nulls": "last"
}
],
"isUnique": false,
"concurrently": false,
"method": "btree",
"with": {}
}
},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
},
"public.waitingLists": {
"name": "waitingLists",
"schema": "",
"columns": {
"id": {
"name": "id",
"type": "serial",
"primaryKey": true,
"notNull": true
},
"userID": {
"name": "userID",
"type": "varchar(32)",
"primaryKey": false,
"notNull": true
},
"uuid": {
"name": "uuid",
"type": "varchar(32)",
"primaryKey": false,
"notNull": true
},
"timestamp": {
"name": "timestamp",
"type": "bigint",
"primaryKey": false,
"notNull": true
},
"createdAt": {
"name": "createdAt",
"type": "timestamp",
"primaryKey": false,
"notNull": true,
"default": "now()"
},
"updatedAt": {
"name": "updatedAt",
"type": "timestamp",
"primaryKey": false,
"notNull": true,
"default": "now()"
}
},
"indexes": {
"wl_userid_index": {
"name": "wl_userid_index",
"columns": [
{
"expression": "userID",
"isExpression": false,
"asc": true,
"nulls": "last"
}
],
"isUnique": false,
"concurrently": false,
"method": "btree",
"with": {}
},
"wl_uuid_index": {
"name": "wl_uuid_index",
"columns": [
{
"expression": "uuid",
"isExpression": false,
"asc": true,
"nulls": "last"
}
],
"isUnique": false,
"concurrently": false,
"method": "btree",
"with": {}
}
},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
}
},
"enums": {},
"schemas": {},
"sequences": {},
"_meta": {
"columns": {},
"schemas": {},
"tables": {}
}
}

View File

@@ -8,6 +8,20 @@
"when": 1727906753913, "when": 1727906753913,
"tag": "0000_bouncy_thor_girl", "tag": "0000_bouncy_thor_girl",
"breakpoints": true "breakpoints": true
},
{
"idx": 1,
"version": "7",
"when": 1728318584421,
"tag": "0001_quick_meggan",
"breakpoints": true
},
{
"idx": 2,
"version": "7",
"when": 1728321163523,
"tag": "0002_jittery_wallow",
"breakpoints": true
} }
] ]
} }

View File

@@ -1,45 +1,84 @@
import { bigint, pgTable, serial, text, timestamp } from "drizzle-orm/pg-core" import { bigint, index, pgTable, serial, timestamp, varchar } from "drizzle-orm/pg-core"
const createdAt = timestamp("createdAt").notNull().defaultNow() const createdAt = timestamp("createdAt").notNull().defaultNow()
const updatedAt = timestamp("updatedAt").notNull().defaultNow().$onUpdate(() => new Date()) const updatedAt = timestamp("updatedAt").notNull().defaultNow().$onUpdate(() => new Date())
export const verifies = pgTable("verifies", { export const verifies = pgTable("verifies", {
id: serial("id").primaryKey(), id: serial("id").primaryKey(),
userID: text("userID").notNull(), userID: varchar("userID", { length: 32 }).notNull(),
uuid: text("uuid").notNull(), uuid: varchar("uuid", { length: 32 }).notNull(),
createdAt, createdAt,
updatedAt updatedAt
}, table => {
return {
useridIndex: index("verifies_userid_index").on(table.userID),
uuidIndex: index("verifies_uuid_index").on(table.uuid)
}
}) })
export const guildApps = pgTable("guildApps", { export const guildApps = pgTable("guildApps", {
id: serial("id").primaryKey(), id: serial("id").primaryKey(),
userID: text("userID").notNull(), userID: varchar("userID", { length: 32 }).notNull(),
uuid: text("uuid").notNull(), uuid: varchar("uuid", { length: 32 }).notNull(),
createdAt, createdAt,
updatedAt updatedAt
}, table => {
return {
useridIndex: index("guildapps_userid_index").on(table.userID),
uuidIndex: index("guildapps_uuid_index").on(table.uuid)
}
}) })
export const staffApps = pgTable("staffApps", { export const staffApps = pgTable("staffApps", {
id: serial("id").primaryKey(), id: serial("id").primaryKey(),
userID: text("userID").notNull(), userID: varchar("userID", { length: 32 }).notNull(),
uuid: text("uuid").notNull(), uuid: varchar("uuid", { length: 32 }).notNull(),
createdAt, createdAt,
updatedAt updatedAt
}, table => {
return {
useridIndex: index("staffapps_userid_index").on(table.userID),
uuidIndex: index("staffapps_uuid_index").on(table.uuid)
}
}) })
export const waitingLists = pgTable("waitingLists", { export const waitingLists = pgTable("waitingLists", {
id: serial("id").primaryKey(), id: serial("id").primaryKey(),
userID: text("userID").notNull(), userID: varchar("userID", { length: 32 }).notNull(),
uuid: text("uuid").notNull(), uuid: varchar("uuid", { length: 32 }).notNull(),
timestamp: bigint("timestamp", { mode: "number" }).notNull(), timestamp: bigint("timestamp", { mode: "number" }).notNull(),
createdAt, createdAt,
updatedAt updatedAt
}, table => {
return {
useridIndex: index("wl_userid_index").on(table.userID),
uuidIndex: index("wl_uuid_index").on(table.uuid)
}
}) })
export const settings = pgTable("settings", { export const settings = pgTable("settings", {
id: serial("id").primaryKey(), id: serial("id").primaryKey(),
name: text("name").notNull(), name: varchar("name", { length: 32 }).notNull(),
value: text("value").notNull(), value: varchar("value", { length: 256 }).notNull(),
createdAt, createdAt,
updatedAt updatedAt
}, table => {
return {
nameIndex: index("settings_name_index").on(table.name)
}
}) })
export type SelectVerify = typeof verifies.$inferSelect
export type InsertVerify = typeof verifies.$inferInsert
export type SelectGuildApp = typeof guildApps.$inferSelect
export type InsertGuildApp = typeof guildApps.$inferInsert
export type SelectStaffApp = typeof staffApps.$inferSelect
export type InsertStaffApp = typeof staffApps.$inferInsert
export type SelectWaitingList = typeof waitingLists.$inferSelect
export type InsertWaitingList = typeof waitingLists.$inferInsert
export type SelectSetting = typeof settings.$inferSelect
export type InsertSetting = typeof settings.$inferInsert

View File

@@ -1,9 +1,9 @@
import { devMessage, embedColor, guildLogChannel, hypixelGuildID } from "config/options.js"
import { TextChannel } from "discord.js" import { TextChannel } from "discord.js"
import { ICron, IGuildData } from "interfaces" import { devMessage, embedColor, guildLogChannel, hypixelGuildID } from "~/config/options.js"
import { color } from "utils/functions/colors.js" import { ICron, IGuildData } from "~/interfaces"
import { getGuild, getIGN } from "utils/Hypixel.js" import { color } from "~/utils/functions/colors.js"
import { client } from "utils/Illegitimate.js" import { getGuild, getIGN } from "~/utils/Hypixel.js"
import { client } from "~/utils/Illegitimate.js"
async function guildWeekly() { async function guildWeekly() {
const channel = client.channels.cache.get(guildLogChannel) as TextChannel const channel = client.channels.cache.get(guildLogChannel) as TextChannel

View File

@@ -1,7 +1,7 @@
import { embedColor } from "config/options.js"
import { GuildMember, userMention } from "discord.js" import { GuildMember, userMention } from "discord.js"
import { IEvent } from "interfaces" import { embedColor } from "~/config/options.js"
import logToChannel from "utils/functions/logtochannel.js" import { IEvent } from "~/interfaces"
import logToChannel from "~/utils/functions/logtochannel.js"
export default { export default {
event: "guildMemberAdd", event: "guildMemberAdd",

View File

@@ -1,5 +1,5 @@
import { IEvent } from "interfaces" import { IEvent } from "~/interfaces"
import { color } from "utils/functions/colors.js" import { color } from "~/utils/functions/colors.js"
export default { export default {
event: "interactionCreate", event: "interactionCreate",

View File

@@ -1,6 +1,6 @@
import { ChannelType } from "discord.js" import { ChannelType } from "discord.js"
import { IEvent } from "interfaces" import { IEvent } from "~/interfaces"
import env from "utils/Env.js" import env from "~/utils/Env.js"
export default { export default {
event: "messageCreate", event: "messageCreate",

View File

@@ -1,4 +1,4 @@
import { IEvent } from "interfaces" import { IEvent } from "~/interfaces"
export default { export default {
event: "messageCreate", event: "messageCreate",

View File

@@ -1,5 +1,5 @@
import { IEvent } from "interfaces" import { IEvent } from "~/interfaces"
import { color } from "utils/functions/colors.js" import { color } from "~/utils/functions/colors.js"
export default { export default {
event: "ready", event: "ready",

View File

@@ -1,6 +1,6 @@
import { embedColor } from "config/options.js" import { embedColor } from "~/config/options.js"
import { IEvent } from "interfaces" import { IEvent } from "~/interfaces"
import logToChannel from "utils/functions/logtochannel.js" import logToChannel from "~/utils/functions/logtochannel.js"
export default { export default {
event: "ready", event: "ready",

View File

@@ -1,7 +1,7 @@
import { guildid } from "config/options.js"
import statuses from "config/statuses.js"
import { Guild } from "discord.js" import { Guild } from "discord.js"
import { IEvent } from "interfaces" import { guildid } from "~/config/options.js"
import statuses from "~/config/statuses.js"
import { IEvent } from "~/interfaces"
export default { export default {
event: "ready", event: "ready",

View File

@@ -1,4 +1,4 @@
import { IEvent } from "interfaces" import { IEvent } from "~/interfaces"
export default { export default {
event: "voiceStateUpdate", event: "voiceStateUpdate",

View File

@@ -1,3 +1,3 @@
import { Illegitimate } from "utils/Illegitimate.js" import { Illegitimate } from "~/utils/Illegitimate.js"
new Illegitimate().start() new Illegitimate().start()

View File

@@ -1,5 +1,5 @@
import { AutocompleteInteraction } from "discord.js" import { AutocompleteInteraction } from "discord.js"
import { ExtendedClient } from "utils/Client.js" import { ExtendedClient } from "~/utils/Client.js"
export default interface IAutocomplete { export default interface IAutocomplete {
name: string name: string

View File

@@ -1,5 +1,5 @@
import { ButtonInteraction } from "discord.js" import { ButtonInteraction } from "discord.js"
import { ExtendedClient } from "utils/Client.js" import { ExtendedClient } from "~/utils/Client.js"
export default interface IButton { export default interface IButton {
name: string name: string

View File

@@ -1,5 +1,5 @@
import { ChatInputCommandInteraction, SlashCommandBuilder } from "discord.js" import { ChatInputCommandInteraction, SlashCommandBuilder } from "discord.js"
import { ExtendedClient as Client } from "utils/Client.js" import { ExtendedClient as Client } from "~/utils/Client.js"
export default interface ICommand { export default interface ICommand {
name: string name: string

View File

@@ -1,5 +1,5 @@
import { ContextMenuCommandBuilder, ContextMenuCommandInteraction } from "discord.js" import { ContextMenuCommandBuilder, ContextMenuCommandInteraction } from "discord.js"
import { ExtendedClient } from "utils/Client.js" import { ExtendedClient } from "~/utils/Client.js"
export default interface IContextMenu { export default interface IContextMenu {
name: string name: string

View File

@@ -1,4 +1,4 @@
import { TimeZones } from "typings" import { TimeZones } from "~/typings"
interface TimeFormat { interface TimeFormat {
seconds: "*" | number seconds: "*" | number

View File

@@ -1,5 +1,5 @@
import { ModalSubmitInteraction } from "discord.js" import { ModalSubmitInteraction } from "discord.js"
import { ExtendedClient } from "utils/Client.js" import { ExtendedClient } from "~/utils/Client.js"
export default interface IModal { export default interface IModal {
name: string name: string

View File

@@ -1,6 +1,6 @@
import { RESTPostAPIChatInputApplicationCommandsJSONBody, RESTPostAPIContextMenuApplicationCommandsJSONBody } from "discord.js" import { RESTPostAPIChatInputApplicationCommandsJSONBody, RESTPostAPIContextMenuApplicationCommandsJSONBody } from "discord.js"
import fs from "fs" import fs from "fs"
import { ICommand, IContextMenu } from "interfaces" import { ICommand, IContextMenu } from "~/interfaces"
import { ExtendedClient } from "./Client.js" import { ExtendedClient } from "./Client.js"
import env from "./Env.js" import env from "./Env.js"
import { color } from "./functions/colors.js" import { color } from "./functions/colors.js"

View File

@@ -1,5 +1,5 @@
import { Client, Collection, GatewayIntentBits, Partials } from "discord.js" import { Client, Collection, GatewayIntentBits, Partials } from "discord.js"
import { IAutocomplete, IButton, ICommand, IContextMenu, IModal } from "interfaces" import { IAutocomplete, IButton, ICommand, IContextMenu, IModal } from "~/interfaces"
import autoDeployCommands from "./Autodeploy.js" import autoDeployCommands from "./Autodeploy.js"
import env from "./Env.js" import env from "./Env.js"
import { color } from "./functions/colors.js" import { color } from "./functions/colors.js"

View File

@@ -1,4 +1,4 @@
import { IEnv } from "interfaces" import { IEnv } from "~/interfaces"
import "dotenv/config" import "dotenv/config"
const env: IEnv = { const env: IEnv = {

Some files were not shown because too many files have changed in this diff Show More