necord 5.0.0 → 5.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.release-it.json
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
|
3
3
|
|
|
4
|
-
# [
|
|
4
|
+
# [5.0.1](https://github.com/necordjs/necord/compare/v4.3.3...v5.0.1) - (2022-07-17)
|
|
5
5
|
|
|
6
6
|
## Bug Fixes
|
|
7
7
|
|
|
8
|
+
- Types for guild features lmao ([d6f3727](https://github.com/necordjs/necord/commit/d6f3727fa60f0639de7a439d8299ee095ac7659c))
|
|
8
9
|
- Change `SlashCommandContext` type ([3d111da](https://github.com/necordjs/necord/commit/3d111dac386d89045975a2c60b2c1c8c09f92797))
|
|
9
10
|
- Change autocomplete type, tysm djs :) ([a1d1400](https://github.com/necordjs/necord/commit/a1d1400879ecdcaac8c1d826cf17f03b668251e5))
|
|
10
11
|
- Remove update topic event ([82403a4](https://github.com/necordjs/necord/commit/82403a49610f8997b933ecbd6d40310273775abf))
|
|
@@ -64,4 +65,3 @@ All notable changes to this project will be documented in this file.
|
|
|
64
65
|
- Change intents for client ([e1b1797](https://github.com/necordjs/necord/commit/e1b1797ca3a7aaf2f77b30371831cc5e1a2685ec))
|
|
65
66
|
- Change text command inline to object ([85980a7](https://github.com/necordjs/necord/commit/85980a7602d1debb6b4f4ec32d159c7b2474d8a9))
|
|
66
67
|
- Make global guilds ([c612b45](https://github.com/necordjs/necord/commit/c612b45e7c003f4e7f34e706ea7ed1b7e17761d6))
|
|
67
|
-
|
|
@@ -25,7 +25,11 @@ export interface NecordEvents extends ClientEvents {
|
|
|
25
25
|
guildVanityURLAdd: [guild: Guild, vanityURLCode: string];
|
|
26
26
|
guildVanityURLUpdate: [guild: Guild, oldVanityURLCode: string, newVanityURLCode: string];
|
|
27
27
|
guildVanityURLRemove: [guild: Guild, vanityURLCode: string];
|
|
28
|
-
guildFeaturesUpdate: [
|
|
28
|
+
guildFeaturesUpdate: [
|
|
29
|
+
guild: Guild,
|
|
30
|
+
oldFeatures: `${GuildFeature}`[],
|
|
31
|
+
newFeatures: `${GuildFeature}`[]
|
|
32
|
+
];
|
|
29
33
|
guildAcronymUpdate: [oldGuild: Guild, newGuild: Guild];
|
|
30
34
|
guildOwnerUpdate: [oldGuild: Guild, newGuild: Guild];
|
|
31
35
|
guildPartnerAdd: [guild: Guild];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "necord",
|
|
3
3
|
"description": "A module for creating Discord bots using NestJS, based on Discord.js.",
|
|
4
|
-
"version": "5.0.
|
|
4
|
+
"version": "5.0.3",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "rimraf -rf dist && tsc -p tsconfig.json",
|
|
7
7
|
"prepublish:npm": "npm run build",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"prepare": "husky install .github/husky",
|
|
12
12
|
"format": "prettier --write \"src/**/*.ts\"",
|
|
13
13
|
"lint": "eslint --ignore-path .gitignore src/**/*.ts",
|
|
14
|
-
"changelog": "git cliff --prepend ./CHANGELOG.md -
|
|
14
|
+
"changelog": "git cliff --prepend ./CHANGELOG.md -l --current -c ./cliff.toml -r ."
|
|
15
15
|
},
|
|
16
16
|
"lint-staged": {
|
|
17
17
|
"*.ts": "npm run format"
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@typescript-eslint/eslint-plugin": "5.30.6",
|
|
58
58
|
"@typescript-eslint/parser": "5.30.6",
|
|
59
59
|
"discord-api-types": "0.36.2",
|
|
60
|
-
"discord.js": "
|
|
60
|
+
"discord.js": "14.0.1",
|
|
61
61
|
"eslint": "8.19.0",
|
|
62
62
|
"eslint-config-prettier": "8.5.0",
|
|
63
63
|
"eslint-plugin-prettier": "4.2.1",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"peerDependencies": {
|
|
76
76
|
"@nestjs/common": "^8.0.0",
|
|
77
77
|
"@nestjs/core": "^8.0.0",
|
|
78
|
-
"discord.js": "^
|
|
78
|
+
"discord.js": "^14.0.1",
|
|
79
79
|
"reflect-metadata": "^0.1.13",
|
|
80
80
|
"rxjs": "^7.2.0"
|
|
81
81
|
},
|