From 46193a94f17766cd48cc3355fe140c507d6d377e Mon Sep 17 00:00:00 2001 From: Marius Begby Date: Thu, 14 Sep 2023 15:34:58 +0200 Subject: [PATCH] chore(main): release 5.3.7 --- CHANGELOG.md | 21 +++++++ package-lock.json | 4 +- package.json | 146 +++++++++++++++++++++++----------------------- 3 files changed, 96 insertions(+), 75 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd2da7e..30cf8fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,26 @@ # Changelog +## [5.3.7](https://github.com/mariusbegby/cadence-discord-bot/compare/v5.3.6...v5.3.7) (2023-09-14) + + +### Minor changes and bug fixes + +* Added setup for unit tests ([f04d5ab](https://github.com/mariusbegby/cadence-discord-bot/commit/f04d5ab79b360ba1f66cb2913ef1d24f08896ca2)) +* change map to switch statement ([7018b69](https://github.com/mariusbegby/cadence-discord-bot/commit/7018b690bbc591b1b1eb689dfb4b36ab199165f3)) +* Fix posting bot stats status codes. ([6beb29d](https://github.com/mariusbegby/cadence-discord-bot/commit/6beb29d8b75bcf3efd7e4237dc5b604e4d65eb00)) +* possibly solve duplicate event 'interactionCreate' listener bug ([2d08a9a](https://github.com/mariusbegby/cadence-discord-bot/commit/2d08a9aa858fcd7f82c02fe0f0dc9b6e4524421c)) +* refactor postBotStats.ts ([f06f2ae](https://github.com/mariusbegby/cadence-discord-bot/commit/f06f2ae352c72844317b519a46650807bddc3eb2)) +* remove async from getUptimeFormatted ([4041404](https://github.com/mariusbegby/cadence-discord-bot/commit/4041404f01e58fd88009d73950691f2a5cbd3e1f)) +* small change to getEmbedQueueAuthor for bitrate calculation ([f3de02a](https://github.com/mariusbegby/cadence-discord-bot/commit/f3de02a6a8f4fc8cfe3e80a8b49117d076b5a9f5)) +* update interactionCreate event handling ([7902a84](https://github.com/mariusbegby/cadence-discord-bot/commit/7902a8427c5516c0586a86f27c2646cad1d81151)) +* use Promise.all when fetching info for status commands ([2d7ffc1](https://github.com/mariusbegby/cadence-discord-bot/commit/2d7ffc1a3ff9f58740dd1c77078feadcce6478d7)) + + +### Miscellaneous + +* adjust getUptimeFormatted method ([5558c0b](https://github.com/mariusbegby/cadence-discord-bot/commit/5558c0bca2ec2241a2899e5e1c00a1a6090c0fce)) +* more type annotations ([10c03d5](https://github.com/mariusbegby/cadence-discord-bot/commit/10c03d599f9eb060304b10e5e5b6572c7ab253b0)) + ## [5.3.6](https://github.com/mariusbegby/cadence-discord-bot/compare/v5.3.5...v5.3.6) (2023-09-13) diff --git a/package-lock.json b/package-lock.json index 3268432..a28e1a1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cadence-discord-bot", - "version": "5.3.6", + "version": "5.3.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cadence-discord-bot", - "version": "5.3.6", + "version": "5.3.7", "license": "MIT", "dependencies": { "@discord-player/extractor": "^4.4.3", diff --git a/package.json b/package.json index 9865412..dd6b4c4 100644 --- a/package.json +++ b/package.json @@ -1,74 +1,74 @@ -{ - "name": "cadence-discord-bot", - "version": "5.3.6", - "description": "A free Discord music and audio bot.", - "repository": { - "type": "git", - "url": "https://github.com/mariusbegby/cadence-discord-bot" - }, - "bugs": { - "url": "https://github.com/mariusbegby/cadence-discord-bot/issues" - }, - "homepage": "https://github.com/mariusbegby/cadence-discord-bot#readme", - "author": { - "name": "Marius Begby", - "url": "https://github.com/mariusbegby" - }, - "publisher": "mariusbegby", - "license": "MIT", - "main": "index.js", - "jest": { - "preset": "ts-jest", - "testEnvironment": "node", - "testMatch": [ - "**/__tests__/**/*.ts", - "**/?(*.)+(spec|test).ts" - ] - }, - "scripts": { - "test": "jest", - "test:watch": "jest --watch", - "start": "node ./dist/index.js", - "start-pretty": "node ./dist/index.js | pino-pretty --ignore environment,source,module,action,name,context,executionId,executionTime,shardId,guildId,interactionType", - "start-pretty-no-ignore": "node ./dist/index.js | pino-pretty", - "deploy": "node ./dist/utils/deploySlashCommands.js", - "deploy-pretty": "node ./dist/utils/deploySlashCommands.js | pino-pretty --ignore environment,source,module,action,name,context,executionId,executionTime,shardId,guildId,interactionType", - "bun-start": "bun ./src/index.ts", - "bun-start-pretty": "bun ./src/index.ts | pino-pretty --ignore environment,source,module,action,name,context,executionId,executionTime,shardId,guildId,interactionType", - "bun-start-pretty-no-ignore": "bun ./src/index.ts | pino-pretty", - "bun-deploy": "bun ./src/utils/deploySlashCommands.ts", - "bun-deploy-pretty": "bun ./src/utils/deploySlashCommands.ts | pino-pretty --ignore environment,source,module,action,name,context,executionId,executionTime,shardId,guildId,interactionType", - "eslint": "eslint ./src", - "build": "tsc" - }, - "dependencies": { - "@discord-player/extractor": "^4.4.3", - "@discord-player/opus": "^0.1.2", - "@discordjs/rest": "^2.0.1", - "config": "^3.3.9", - "discord-player": "^6.6.3", - "discord-voip": "^0.1.2", - "discord.js": "^14.13.0", - "dotenv": "^16.3.1", - "mediaplex": "^0.0.7", - "node-os-utils": "^1.3.7", - "pino": "^8.15.1", - "pino-loki": "^2.1.3", - "youtube-ext": "^1.1.14" - }, - "devDependencies": { - "@types/config": "^3.3.1", - "@types/jest": "^29.5.4", - "@types/node": "^20.6.0", - "@types/node-os-utils": "^1.3.1", - "@typescript-eslint/eslint-plugin": "^6.5.0", - "@typescript-eslint/parser": "^6.5.0", - "eslint": "^8.49.0", - "eslint-config-prettier": "^9.0.0", - "eslint-plugin-prettier": "^5.0.0", - "jest": "^29.7.0", - "prettier": "^3.0.3", - "ts-jest": "^29.1.1", - "typescript": "^5.2.2" - } +{ + "name": "cadence-discord-bot", + "version": "5.3.7", + "description": "A free Discord music and audio bot.", + "repository": { + "type": "git", + "url": "https://github.com/mariusbegby/cadence-discord-bot" + }, + "bugs": { + "url": "https://github.com/mariusbegby/cadence-discord-bot/issues" + }, + "homepage": "https://github.com/mariusbegby/cadence-discord-bot#readme", + "author": { + "name": "Marius Begby", + "url": "https://github.com/mariusbegby" + }, + "publisher": "mariusbegby", + "license": "MIT", + "main": "index.js", + "jest": { + "preset": "ts-jest", + "testEnvironment": "node", + "testMatch": [ + "**/__tests__/**/*.ts", + "**/?(*.)+(spec|test).ts" + ] + }, + "scripts": { + "test": "jest", + "test:watch": "jest --watch", + "start": "node ./dist/index.js", + "start-pretty": "node ./dist/index.js | pino-pretty --ignore environment,source,module,action,name,context,executionId,executionTime,shardId,guildId,interactionType", + "start-pretty-no-ignore": "node ./dist/index.js | pino-pretty", + "deploy": "node ./dist/utils/deploySlashCommands.js", + "deploy-pretty": "node ./dist/utils/deploySlashCommands.js | pino-pretty --ignore environment,source,module,action,name,context,executionId,executionTime,shardId,guildId,interactionType", + "bun-start": "bun ./src/index.ts", + "bun-start-pretty": "bun ./src/index.ts | pino-pretty --ignore environment,source,module,action,name,context,executionId,executionTime,shardId,guildId,interactionType", + "bun-start-pretty-no-ignore": "bun ./src/index.ts | pino-pretty", + "bun-deploy": "bun ./src/utils/deploySlashCommands.ts", + "bun-deploy-pretty": "bun ./src/utils/deploySlashCommands.ts | pino-pretty --ignore environment,source,module,action,name,context,executionId,executionTime,shardId,guildId,interactionType", + "eslint": "eslint ./src", + "build": "tsc" + }, + "dependencies": { + "@discord-player/extractor": "^4.4.3", + "@discord-player/opus": "^0.1.2", + "@discordjs/rest": "^2.0.1", + "config": "^3.3.9", + "discord-player": "^6.6.3", + "discord-voip": "^0.1.2", + "discord.js": "^14.13.0", + "dotenv": "^16.3.1", + "mediaplex": "^0.0.7", + "node-os-utils": "^1.3.7", + "pino": "^8.15.1", + "pino-loki": "^2.1.3", + "youtube-ext": "^1.1.14" + }, + "devDependencies": { + "@types/config": "^3.3.1", + "@types/jest": "^29.5.4", + "@types/node": "^20.6.0", + "@types/node-os-utils": "^1.3.1", + "@typescript-eslint/eslint-plugin": "^6.5.0", + "@typescript-eslint/parser": "^6.5.0", + "eslint": "^8.49.0", + "eslint-config-prettier": "^9.0.0", + "eslint-plugin-prettier": "^5.0.0", + "jest": "^29.7.0", + "prettier": "^3.0.3", + "ts-jest": "^29.1.1", + "typescript": "^5.2.2" + } }