disgroove 1.2.0-dev.72d8656 → 1.2.0-dev.aa31016

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
@@ -2,27 +2,15 @@
2
2
 
3
3
  An NPM package to interact with the Discord API
4
4
 
5
- ## Getting started
5
+ ## Installation
6
6
 
7
- - Install the package
7
+ [**Node.js**](https://nodejs.org) v16 or higher required
8
8
 
9
9
  ```
10
10
  npm install disgroove
11
11
  ```
12
12
 
13
- - Import the package
14
-
15
- ```js
16
- const { Client } = require("disgroove");
17
- ```
18
-
19
- - Create the client
20
-
21
- ```js
22
- const client = new Client("token");
23
- ```
24
-
25
- ### Example
13
+ ## Example
26
14
 
27
15
  ```js
28
16
  const {
@@ -64,7 +52,7 @@ client.on("interactionCreate", async (interaction) => {
64
52
  content: "Pong! 🏓",
65
53
  flags: MessageFlags.Ephemeral,
66
54
  },
67
- }); // Reply with an ephemeral message "Pong! 🏓"
55
+ }); // Responds with an ephemeral message "Pong! 🏓"
68
56
  }
69
57
  });
70
58
 
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export * from "./rest";
2
2
  export * from "./structures";
3
- export * from "./types";
3
+ export * from "./types/index";
4
4
  export * from "./utils";
5
5
  export * from "./Client";
6
6
  export * from "./constants";
package/dist/index.js CHANGED
@@ -16,7 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./rest"), exports);
18
18
  __exportStar(require("./structures"), exports);
19
- __exportStar(require("./types"), exports);
19
+ __exportStar(require("./types/index"), exports);
20
20
  __exportStar(require("./utils"), exports);
21
21
  __exportStar(require("./Client"), exports);
22
22
  __exportStar(require("./constants"), exports);
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,+CAA6B;AAC7B,0CAAwB;AACxB,0CAAwB;AACxB,2CAAyB;AACzB,8CAA4B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,+CAA6B;AAC7B,gDAA8B;AAC9B,0CAAwB;AACxB,2CAAyB;AACzB,8CAA4B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "disgroove",
3
- "version": "1.2.0-dev.72d8656",
3
+ "version": "1.2.0-dev.aa31016",
4
4
  "description": "An NPM package to interact with the Discord API",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",