Skip to content

Commit

Permalink
merge: branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
virtual-designer committed Oct 3, 2024
2 parents ba66264 + 444273d commit 022e96c
Show file tree
Hide file tree
Showing 3 changed files with 210 additions and 137 deletions.
2 changes: 1 addition & 1 deletion .github/cra-metadata.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"lastReadCommit": "611ef4f11c761f9aa8ab3e738593e068d84d2945"
"lastReadCommit": "62c0bc95e523e55ae88b2b29192533a2eb638977"
}
73 changes: 73 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,78 @@
# Changelog

### 03-10-2024 - [[Ar Rakin](mailto:[email protected])]

* **fix:** echo command argument validation not working in interaction mode

* This issue is mainly due to the way the echo command handled incoming arguments,
and not allowing optional types when using unions, which caused this.

**Signed-off-by:** Ar Rakin <[email protected]>

* **fix:** type errors after upgrading to discord.js v14.16.3

* It seems like in discord.js v14.16.3 a bug was introduced that doesn't
let correct ApplicationCommandType enum values to be passed to
** CommandBuilder:** :setType() method. This commit adds a workaround to this
bug, by not using enums and instead using a plain-old JavaScript object
(POJO) with TypeScript's `as const` to mimic an enum.

**Signed-off-by:** Ar Rakin <[email protected]>


### 29-09-2024 - [[Ar Rakin](mailto:[email protected])]

* **docs:** update

**Signed-off-by:** Ar Rakin <[email protected]>
* **docs:** update

**Signed-off-by:** Ar Rakin <[email protected]>
* **chore(extensions):** build extensions [skip ci]

**Signed-off-by:** Ar Rakin <[email protected]>


### 28-09-2024 - [[Ar Rakin](mailto:[email protected])]

* **docs:** update licensing page

**Signed-off-by:** Ar Rakin <[email protected]>
* **chore(extensions:waifu.pics):** update docs

**Signed-off-by:** Ar Rakin <[email protected]>

* **chore(extensions):** build extensions [skip ci]

**Signed-off-by:** Ar Rakin <[email protected]>


### 27-09-2024 - [[Ar Rakin](mailto:[email protected])]

* **chore:** customize typedoc theme

**Signed-off-by:** GitHub <[email protected]>

* **chore:** add typedoc theme and custom css

**Signed-off-by:** Ar Rakin <[email protected]>

* **chore:** add typedoc

**Signed-off-by:** Ar Rakin <[email protected]>

* **chore(extensions):** build extensions [skip ci]

**Signed-off-by:** Ar Rakin <[email protected]>


### 26-09-2024 - [[Conventional Release Action](mailto:[email protected])]

* **release:** v10.17.2 [skip ci]

**Signed-off-by:** Conventional Release Action <[email protected]>


### 26-09-2024 - [[Ar Rakin](mailto:[email protected])]

* **feat:** errors now show full stack trace on debug mode
Expand Down
272 changes: 136 additions & 136 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,138 +1,138 @@
{
"name": "sudobot",
"version": "10.17.2",
"description": "A Discord bot for moderation purposes.",
"author": {
"name": "Ar Rakin",
"email": "[email protected]",
"url": "https://virtual-designer.github.io"
},
"main": "build/out/main/main.js",
"license": "AGPL-3.0-or-later",
"keywords": [
"bot",
"discord-bot",
"moderation",
"automoderation",
"discord-moderation",
"discord-moderation-bot",
"discord-automoderation",
"discord-automoderation-bot"
],
"homepage": "https://github.com/onesoft-sudo/sudobot",
"icon": "https://res.cloudinary.com/rakinar2/image/upload/v1659628446/SudoBot-new_cvwphw.png",
"readme": "https://github.com/onesoft-sudo/sudobot#readme",
"repository": {
"type": "git",
"url": "https://github.com/onesoft-sudo/sudobot"
},
"bugs": {
"url": "https://github.com/onesoft-sudo/sudobot/issues",
"email": "[email protected]"
},
"_meta": {
"release_codename": "Delicious Donut",
"release_short_codename": "Donut"
},
"funding": {
"type": "paypal",
"url": "https://www.sudobot.online/donate?utm_source=package-json&utm_medium=funding&utm_campaign=paypal"
},
"scripts": {
"start": "node build/out/main/typescript/main.js",
"start:bun": "bun --tsconfig-override=tsconfig.bun.json src/bun.ts",
"prepare": "husky && node -e \"const { symlinkSync, rmSync, existsSync } = require('fs'); const path = require('path'); const link = path.join(process.cwd(), 'node_modules/blazebuild'); if (existsSync(link)) { rmSync(link, { recursive: true }); } symlinkSync(path.join(process.cwd(), 'blazebuild'), link, 'dir');\"",
"dev": "bun run src/main/typescript/bun.ts",
"start:blazew": "node build/out/main/typescript/main.js",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"build": "tsc && mv build/out/src _build && rm -fr build/out && mv _build build/out && cp -r src/main/resources build/out/main",
"start:prod": "pm2 start ./ecosystem.config.js",
"deploy": "node scripts/deploy-commands.js",
"gen:schema": "node scripts/generate-config-schema.js",
"clean": "rm -frv build tsconfig.tsbuildinfo; make clean",
"test": "vitest",
"shell": "bun run src/main/typescript/shell.ts"
},
"_moduleAliases": {
"@sudobot": "build/out",
"@framework": "build/out/framework/typescript",
"@main": "build/out/main/typescript",
"@root": "."
},
"trustedDependencies": [
"@tensorflow/tfjs-node",
"bcrypt",
"core-js",
"esbuild",
"sharp",
"tesseract.js"
],
"dependencies": {
"@googleapis/oauth2": "^1.0.7",
"archiver": "^7.0.1",
"ascii-table3": "^0.9.0",
"axios": "^1.7.4",
"bcrypt": "^5.1.1",
"chalk": "^4.1.2",
"cors": "^2.8.5",
"date-fns": "^4.1.0",
"deepmerge": "^4.3.1",
"discord.js": "^14.16.3",
"dot-object": "^2.1.5",
"dotenv": "^16.4.5",
"drizzle-orm": "^0.32.1",
"express": "^4.19.2",
"express-rate-limit": "^7.3.1",
"figlet": "^1.7.0",
"glob": "^11.0.0",
"json5": "^2.2.3",
"jsonwebtoken": "^9.0.2",
"module-alias": "^2.2.3",
"pg": "^8.12.0",
"pm2": "^5.4.2",
"reflect-metadata": "^0.2.2",
"semver": "^7.6.2",
"sharp": "^0.33.4",
"socket.io": "^4.8.0",
"tar": "^7.4.0",
"tslib": "^2.6.3",
"undici": "^6.19.2",
"uuid": "^10.0.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@faker-js/faker": "^8.4.1",
"@onesoftnet/pm2-config": "^0.0.7",
"@types/archiver": "^6.0.2",
"@types/bcrypt": "^5.0.2",
"@types/bun": "latest",
"@types/cors": "^2.8.17",
"@types/dot-object": "^2.1.6",
"@types/express": "^4.17.21",
"@types/figlet": "^1.5.8",
"@types/glob": "^8.1.0",
"@types/jsonwebtoken": "^9.0.6",
"@types/module-alias": "^2.0.4",
"@types/node": "^22.0.0",
"@types/pg": "^8.11.6",
"@types/semver": "^7.5.8",
"@types/tar": "^6.1.13",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"@vitest/coverage-v8": "^1.6.0",
"eslint": "^8.57.0",
"husky": "^9.1.3",
"prettier": "^3.3.3",
"typedoc": "^0.26.7",
"typedoc-material-theme": "^1.1.0",
"typedoc-plugin-rename-defaults": "^0.7.1",
"typescript": "^5.5.3",
"typescript-eslint": "^7.16.1",
"vitest": "^1.6.0",
"zod-to-json-schema": "^3.23.1"
}
"name": "sudobot",
"version": "10.17.4",
"description": "A Discord bot for moderation purposes.",
"author": {
"name": "Ar Rakin",
"email": "[email protected]",
"url": "https://virtual-designer.github.io"
},
"main": "build/out/main/main.js",
"license": "AGPL-3.0-or-later",
"keywords": [
"bot",
"discord-bot",
"moderation",
"automoderation",
"discord-moderation",
"discord-moderation-bot",
"discord-automoderation",
"discord-automoderation-bot"
],
"homepage": "https://github.com/onesoft-sudo/sudobot",
"icon": "https://res.cloudinary.com/rakinar2/image/upload/v1659628446/SudoBot-new_cvwphw.png",
"readme": "https://github.com/onesoft-sudo/sudobot#readme",
"repository": {
"type": "git",
"url": "https://github.com/onesoft-sudo/sudobot"
},
"bugs": {
"url": "https://github.com/onesoft-sudo/sudobot/issues",
"email": "[email protected]"
},
"_meta": {
"release_codename": "Delicious Donut",
"release_short_codename": "Donut"
},
"funding": {
"type": "paypal",
"url": "https://www.sudobot.online/donate?utm_source=package-json&utm_medium=funding&utm_campaign=paypal"
},
"scripts": {
"start": "node build/out/main/typescript/main.js",
"start:bun": "bun --tsconfig-override=tsconfig.bun.json src/bun.ts",
"prepare": "husky && node -e \"const { symlinkSync, rmSync, existsSync } = require('fs'); const path = require('path'); const link = path.join(process.cwd(), 'node_modules/blazebuild'); if (existsSync(link)) { rmSync(link, { recursive: true }); } symlinkSync(path.join(process.cwd(), 'blazebuild'), link, 'dir');\"",
"dev": "bun run src/main/typescript/bun.ts",
"start:blazew": "node build/out/main/typescript/main.js",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"build": "tsc && mv build/out/src _build && rm -fr build/out && mv _build build/out && cp -r src/main/resources build/out/main",
"start:prod": "pm2 start ./ecosystem.config.js",
"deploy": "node scripts/deploy-commands.js",
"gen:schema": "node scripts/generate-config-schema.js",
"clean": "rm -frv build tsconfig.tsbuildinfo; make clean",
"test": "vitest",
"shell": "bun run src/main/typescript/shell.ts"
},
"_moduleAliases": {
"@sudobot": "build/out",
"@framework": "build/out/framework/typescript",
"@main": "build/out/main/typescript",
"@root": "."
},
"trustedDependencies": [
"@tensorflow/tfjs-node",
"bcrypt",
"core-js",
"esbuild",
"sharp",
"tesseract.js"
],
"dependencies": {
"@googleapis/oauth2": "^1.0.7",
"archiver": "^7.0.1",
"ascii-table3": "^0.9.0",
"axios": "^1.7.4",
"bcrypt": "^5.1.1",
"chalk": "^4.1.2",
"cors": "^2.8.5",
"date-fns": "^4.1.0",
"deepmerge": "^4.3.1",
"discord.js": "^14.16.3",
"dot-object": "^2.1.5",
"dotenv": "^16.4.5",
"drizzle-orm": "^0.32.1",
"express": "^4.19.2",
"express-rate-limit": "^7.3.1",
"figlet": "^1.7.0",
"glob": "^11.0.0",
"json5": "^2.2.3",
"jsonwebtoken": "^9.0.2",
"module-alias": "^2.2.3",
"pg": "^8.12.0",
"pm2": "^5.4.2",
"reflect-metadata": "^0.2.2",
"semver": "^7.6.2",
"sharp": "^0.33.4",
"socket.io": "^4.8.0",
"tar": "^7.4.0",
"tslib": "^2.6.3",
"undici": "^6.19.2",
"uuid": "^10.0.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@faker-js/faker": "^8.4.1",
"@onesoftnet/pm2-config": "^0.0.7",
"@types/archiver": "^6.0.2",
"@types/bcrypt": "^5.0.2",
"@types/bun": "latest",
"@types/cors": "^2.8.17",
"@types/dot-object": "^2.1.6",
"@types/express": "^4.17.21",
"@types/figlet": "^1.5.8",
"@types/glob": "^8.1.0",
"@types/jsonwebtoken": "^9.0.6",
"@types/module-alias": "^2.0.4",
"@types/node": "^22.0.0",
"@types/pg": "^8.11.6",
"@types/semver": "^7.5.8",
"@types/tar": "^6.1.13",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"@vitest/coverage-v8": "^1.6.0",
"eslint": "^8.57.0",
"husky": "^9.1.3",
"prettier": "^3.3.3",
"typedoc": "^0.26.7",
"typedoc-material-theme": "^1.1.0",
"typedoc-plugin-rename-defaults": "^0.7.1",
"typescript": "^5.5.3",
"typescript-eslint": "^7.16.1",
"vitest": "^1.6.0",
"zod-to-json-schema": "^3.23.1"
}
}

0 comments on commit 022e96c

Please sign in to comment.