djs-builder 0.6.7 → 0.6.8

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.
@@ -110,6 +110,11 @@ async function starter(client, options) {
110
110
  validSlashCommands.map((cmd) => [cmd.data.name, cmd])
111
111
  );
112
112
 
113
+
114
+ const slashData = validSlashCommands.map(cmd => cmd.data.toJSON());
115
+
116
+ await client.application.commands.set(slashData);
117
+
113
118
  termenal.slash = validSlashCommands.length;
114
119
  }
115
120
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
  {
3
3
  "name": "djs-builder",
4
- "version": "0.6.7",
4
+ "version": "0.6.8",
5
5
  "description": "Discord.js bot builder. Supports Ts and Js.",
6
6
  "main": "handler/starter.js",
7
7
  "dependencies": {