@theholocron/discord-client 1.49.0 → 1.51.0
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/dist/index.d.mts +1 -0
- package/dist/index.mjs +2 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -507,6 +507,7 @@ declare const Permission: {
|
|
|
507
507
|
readonly SendVoiceMessages: bigint;
|
|
508
508
|
readonly SendPolls: bigint;
|
|
509
509
|
readonly UseExternalApps: bigint;
|
|
510
|
+
readonly PinMessages: bigint;
|
|
510
511
|
};
|
|
511
512
|
type PermissionName = keyof typeof Permission;
|
|
512
513
|
/** The decimal-string bitfield Discord wants for the named permissions (`"0"` for none). */
|
package/dist/index.mjs
CHANGED
|
@@ -421,7 +421,8 @@ const Permission = {
|
|
|
421
421
|
UseExternalSounds: 1n << 45n,
|
|
422
422
|
SendVoiceMessages: 1n << 46n,
|
|
423
423
|
SendPolls: 1n << 49n,
|
|
424
|
-
UseExternalApps: 1n << 50n
|
|
424
|
+
UseExternalApps: 1n << 50n,
|
|
425
|
+
PinMessages: 1n << 51n
|
|
425
426
|
};
|
|
426
427
|
/** The decimal-string bitfield Discord wants for the named permissions (`"0"` for none). */
|
|
427
428
|
function permissions(names) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/discord-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.51.0",
|
|
4
4
|
"description": "A TypeScript client for the Discord webhooks API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"discord",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"dist"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@theholocron/http-client": "^1.
|
|
35
|
+
"@theholocron/http-client": "^1.51.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@theholocron/cli": "5.0.0-alpha.79",
|