vimcord 1.0.33 → 1.0.35

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.cjs CHANGED
@@ -2169,7 +2169,7 @@ var BaseCommandManager = class {
2169
2169
  let moduleType;
2170
2170
  switch (this.type) {
2171
2171
  case 0 /* Slash */:
2172
- moduleType = "Prefix Commands";
2172
+ moduleType = "Slash Commands";
2173
2173
  break;
2174
2174
  case 2 /* Context */:
2175
2175
  moduleType = "Context Commands";
@@ -2217,7 +2217,7 @@ var CommandManager = class {
2217
2217
  console.error(`[CommandManager] \u2716 Failed to register app commands globally: REST is not initialized`);
2218
2218
  return;
2219
2219
  }
2220
- const commands = this.getAllAppCommands(options);
2220
+ const commands = this.getAllAppCommands(options).map((cmd) => cmd.builder.toJSON());
2221
2221
  if (!commands.length) {
2222
2222
  console.log("[CommandManager] No commands to register globally");
2223
2223
  return;
@@ -2249,7 +2249,7 @@ var CommandManager = class {
2249
2249
  console.error(`[CommandManager] \u2716 Failed to register app commands by guild: REST is not initialized`);
2250
2250
  return;
2251
2251
  }
2252
- const commands = this.getAllAppCommands(options);
2252
+ const commands = this.getAllAppCommands(options).map((cmd) => cmd.builder.toJSON());
2253
2253
  if (!commands.length) {
2254
2254
  console.log("[CommandManager] No commands to register by guild");
2255
2255
  return;
@@ -2376,7 +2376,7 @@ var EventManager = class {
2376
2376
  };
2377
2377
 
2378
2378
  // package.json
2379
- var version = "1.0.32";
2379
+ var version = "1.0.35";
2380
2380
 
2381
2381
  // src/client.ts
2382
2382
  var import_node_crypto3 = require("crypto");