seedcord 0.10.1 → 0.10.2
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 +0 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.mjs +0 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -143,16 +143,6 @@ var BaseComponent = class {
|
|
|
143
143
|
get instance() {
|
|
144
144
|
return this._component;
|
|
145
145
|
}
|
|
146
|
-
/**
|
|
147
|
-
* Builds a customId string for interactive components
|
|
148
|
-
*
|
|
149
|
-
* Creates customIds in the format `prefix:arg1-arg2-arg3` for buttons, modals, etc.
|
|
150
|
-
* Arguments are joined with hyphens and separated from prefix with a colon.
|
|
151
|
-
*
|
|
152
|
-
* @param prefix - The route prefix that handlers will match against
|
|
153
|
-
* @param args - Additional arguments to encode in the customId
|
|
154
|
-
* @returns Formatted customId string
|
|
155
|
-
*/
|
|
156
146
|
buildCustomId(prefix, ...args) {
|
|
157
147
|
return args.length === 0 ? prefix : `${prefix}:${args.join("-")}`;
|
|
158
148
|
}
|