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.js CHANGED
@@ -2086,7 +2086,7 @@ var BaseCommandManager = class {
2086
2086
  let moduleType;
2087
2087
  switch (this.type) {
2088
2088
  case 0 /* Slash */:
2089
- moduleType = "Prefix Commands";
2089
+ moduleType = "Slash Commands";
2090
2090
  break;
2091
2091
  case 2 /* Context */:
2092
2092
  moduleType = "Context Commands";
@@ -2134,7 +2134,7 @@ var CommandManager = class {
2134
2134
  console.error(`[CommandManager] \u2716 Failed to register app commands globally: REST is not initialized`);
2135
2135
  return;
2136
2136
  }
2137
- const commands = this.getAllAppCommands(options);
2137
+ const commands = this.getAllAppCommands(options).map((cmd) => cmd.builder.toJSON());
2138
2138
  if (!commands.length) {
2139
2139
  console.log("[CommandManager] No commands to register globally");
2140
2140
  return;
@@ -2166,7 +2166,7 @@ var CommandManager = class {
2166
2166
  console.error(`[CommandManager] \u2716 Failed to register app commands by guild: REST is not initialized`);
2167
2167
  return;
2168
2168
  }
2169
- const commands = this.getAllAppCommands(options);
2169
+ const commands = this.getAllAppCommands(options).map((cmd) => cmd.builder.toJSON());
2170
2170
  if (!commands.length) {
2171
2171
  console.log("[CommandManager] No commands to register by guild");
2172
2172
  return;
@@ -2293,7 +2293,7 @@ var EventManager = class {
2293
2293
  };
2294
2294
 
2295
2295
  // package.json
2296
- var version = "1.0.32";
2296
+ var version = "1.0.35";
2297
2297
 
2298
2298
  // src/client.ts
2299
2299
  import { randomUUID as randomUUID3 } from "crypto";