vimcord 1.0.2 → 1.0.22

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.d.mts CHANGED
@@ -350,7 +350,7 @@ interface SlashCommandConfig extends BaseCommandConfig<CommandType.Slash>, BaseA
350
350
  }
351
351
  declare class SlashCommandBuilder extends BaseCommandBuilder<CommandType.Slash, SlashCommandConfig> {
352
352
  builder: AnySlashCommandBuilder;
353
- private readonly routes;
353
+ readonly routes: Map<string, (client: Vimcord<true>, interaction: ChatInputCommandInteraction) => any>;
354
354
  constructor(config: SlashCommandConfig);
355
355
  private handleExecution;
356
356
  private validateBuilder;
@@ -1019,7 +1019,7 @@ declare abstract class BaseCommandBuilder<T extends CommandType, O extends BaseC
1019
1019
  readonly uuid: string;
1020
1020
  readonly commandType: T;
1021
1021
  /** Local command configuration and hooks */
1022
- protected options: O;
1022
+ readonly options: O;
1023
1023
  /** Internal state for rate limiting across different scopes */
1024
1024
  private readonly rlStores;
1025
1025
  /** * Mapping of CommandTypes to their respective config keys in the Vimcord client
package/dist/index.d.ts CHANGED
@@ -350,7 +350,7 @@ interface SlashCommandConfig extends BaseCommandConfig<CommandType.Slash>, BaseA
350
350
  }
351
351
  declare class SlashCommandBuilder extends BaseCommandBuilder<CommandType.Slash, SlashCommandConfig> {
352
352
  builder: AnySlashCommandBuilder;
353
- private readonly routes;
353
+ readonly routes: Map<string, (client: Vimcord<true>, interaction: ChatInputCommandInteraction) => any>;
354
354
  constructor(config: SlashCommandConfig);
355
355
  private handleExecution;
356
356
  private validateBuilder;
@@ -1019,7 +1019,7 @@ declare abstract class BaseCommandBuilder<T extends CommandType, O extends BaseC
1019
1019
  readonly uuid: string;
1020
1020
  readonly commandType: T;
1021
1021
  /** Local command configuration and hooks */
1022
- protected options: O;
1022
+ readonly options: O;
1023
1023
  /** Internal state for rate limiting across different scopes */
1024
1024
  private readonly rlStores;
1025
1025
  /** * Mapping of CommandTypes to their respective config keys in the Vimcord client
package/dist/index.js CHANGED
@@ -2175,7 +2175,7 @@ async function retryExponentialBackoff(fn, maxRetries = 3, retryDelay = 1e3) {
2175
2175
  }
2176
2176
 
2177
2177
  // package.json
2178
- var version = "1.0.1";
2178
+ var version = "1.0.22";
2179
2179
 
2180
2180
  // src/client.ts
2181
2181
  import { randomUUID as randomUUID3 } from "crypto";