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/README.md +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/package.json +3 -3
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
2178
|
+
var version = "1.0.22";
|
|
2179
2179
|
|
|
2180
2180
|
// src/client.ts
|
|
2181
2181
|
import { randomUUID as randomUUID3 } from "crypto";
|