seedcord 0.10.0 → 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 CHANGED
@@ -143,19 +143,8 @@ 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
- if (args.length === 0) return prefix;
158
- return `${prefix}:${args.join("-")}`;
147
+ return args.length === 0 ? prefix : `${prefix}:${args.join("-")}`;
159
148
  }
160
149
  };
161
150
  var BuilderComponent = class extends BaseComponent {