disgroove 2.2.5-dev.8ca7d6a → 2.2.5-dev.8d93f59

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/README.md CHANGED
@@ -7,14 +7,6 @@ A module to interface with Discord
7
7
  - Flexible
8
8
  - 100% coverage of the [Official Discord API Documentation](https://discord.com/developers/docs/intro)
9
9
 
10
- ## Installation
11
-
12
- [**Node.js v18**](https://nodejs.org) or newer required
13
-
14
- ```
15
- npm install disgroove
16
- ```
17
-
18
10
  ## Example
19
11
 
20
12
  ```js
@@ -53,5 +45,4 @@ client.on("interactionCreate", async (interaction) => {
53
45
  client.connect();
54
46
  ```
55
47
 
56
- More examples on the [GitHub repository](https://github.com/XenKys/disgroove/tree/main/examples)
57
- For support and more join the [Discord server](https://discord.gg/kunfRQgRyD)
48
+ More examples on the [GitHub repository](https://github.com/sergiogotuzzo/disgroove/tree/main/examples)
@@ -717,6 +717,7 @@ export declare class Client extends EventEmitter {
717
717
  attachments?: Array<Partial<Attachment>> | null;
718
718
  poll?: PollCreateParams | null;
719
719
  threadID?: snowflake;
720
+ withComponents?: boolean;
720
721
  }): Promise<Message>;
721
722
  /** https://discord.com/developers/docs/resources/webhook#modify-webhook-with-token */
722
723
  editWebhookWithToken(webhookID: snowflake, webhookToken: string, options: {
@@ -742,6 +743,7 @@ export declare class Client extends EventEmitter {
742
743
  poll?: PollCreateParams;
743
744
  wait?: boolean;
744
745
  threadID?: snowflake;
746
+ withComponents?: boolean;
745
747
  }): Promise<Message | null>;
746
748
  /**
747
749
  * https://discord.com/developers/docs/resources/webhook#execute-githubcompatible-webhook
@@ -1531,6 +1531,7 @@ class Client extends node_events_1.default {
1531
1531
  files: options.files,
1532
1532
  query: {
1533
1533
  thread_id: options.threadID,
1534
+ with_components: options.withComponents,
1534
1535
  },
1535
1536
  });
1536
1537
  return transformers_1.Messages.messageFromRaw(response);
@@ -1593,6 +1594,7 @@ class Client extends node_events_1.default {
1593
1594
  query: {
1594
1595
  wait: options.wait,
1595
1596
  thread_id: options.threadID,
1597
+ with_components: options.withComponents,
1596
1598
  },
1597
1599
  });
1598
1600
  return response !== null ? transformers_1.Messages.messageFromRaw(response) : response;
@@ -191,10 +191,10 @@ export interface RawChannelMention {
191
191
  }
192
192
  /** https://discord.com/developers/docs/resources/message#allowed-mentions-object-allowed-mentions-structure */
193
193
  export interface RawAllowedMentions {
194
- parse: Array<AllowedMentionTypes>;
195
- roles: Array<snowflake>;
196
- users: Array<snowflake>;
197
- replied_user: boolean;
194
+ parse?: Array<AllowedMentionTypes>;
195
+ roles?: Array<snowflake>;
196
+ users?: Array<snowflake>;
197
+ replied_user?: boolean;
198
198
  }
199
199
  export interface Message {
200
200
  id: snowflake;
@@ -359,8 +359,8 @@ export interface ChannelMention {
359
359
  name: string;
360
360
  }
361
361
  export interface AllowedMentions {
362
- parse: Array<AllowedMentionTypes>;
363
- roles: Array<snowflake>;
364
- users: Array<snowflake>;
365
- repliedUser: boolean;
362
+ parse?: Array<AllowedMentionTypes>;
363
+ roles?: Array<snowflake>;
364
+ users?: Array<snowflake>;
365
+ repliedUser?: boolean;
366
366
  }
package/dist/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "disgroove",
3
- "version": "2.2.5-dev.8ca7d6a",
3
+ "version": "2.2.5-dev.8d93f59",
4
4
  "description": "A module to interface with Discord",
5
5
  "main": "./dist/lib/index.js",
6
6
  "types": "./dist/lib/index.d.ts",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "git+https://github.com/XenKys/disgroove.git"
9
+ "url": "git+https://github.com/sergiogotuzzo/disgroove.git"
10
10
  },
11
11
  "keywords": [
12
12
  "api",
@@ -21,9 +21,9 @@
21
21
  "author": "XenKys",
22
22
  "license": "MIT",
23
23
  "bugs": {
24
- "url": "https://github.com/XenKys/disgroove/issues"
24
+ "url": "https://github.com/sergiogotuzzo/disgroove/issues"
25
25
  },
26
- "homepage": "https://github.com/XenKys/disgroove#readme",
26
+ "homepage": "https://github.com/sergiogotuzzo/disgroove#readme",
27
27
  "devDependencies": {
28
28
  "@types/node": "^22.5.3",
29
29
  "@types/ws": "^8.5.12",
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "disgroove",
3
- "version": "2.2.5-dev.8ca7d6a",
3
+ "version": "2.2.5-dev.8d93f59",
4
4
  "description": "A module to interface with Discord",
5
5
  "main": "./dist/lib/index.js",
6
6
  "types": "./dist/lib/index.d.ts",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "git+https://github.com/XenKys/disgroove.git"
9
+ "url": "git+https://github.com/sergiogotuzzo/disgroove.git"
10
10
  },
11
11
  "keywords": [
12
12
  "api",
@@ -21,9 +21,9 @@
21
21
  "author": "XenKys",
22
22
  "license": "MIT",
23
23
  "bugs": {
24
- "url": "https://github.com/XenKys/disgroove/issues"
24
+ "url": "https://github.com/sergiogotuzzo/disgroove/issues"
25
25
  },
26
- "homepage": "https://github.com/XenKys/disgroove#readme",
26
+ "homepage": "https://github.com/sergiogotuzzo/disgroove#readme",
27
27
  "devDependencies": {
28
28
  "@types/node": "^22.5.3",
29
29
  "@types/ws": "^8.5.12",