seedcord 0.10.0 → 0.10.1

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
@@ -154,8 +154,7 @@ var BaseComponent = class {
154
154
  * @returns Formatted customId string
155
155
  */
156
156
  buildCustomId(prefix, ...args) {
157
- if (args.length === 0) return prefix;
158
- return `${prefix}:${args.join("-")}`;
157
+ return args.length === 0 ? prefix : `${prefix}:${args.join("-")}`;
159
158
  }
160
159
  };
161
160
  var BuilderComponent = class extends BaseComponent {