message: 1 less nested if
diff: @@ -109,12 +109,10 @@ export async function sendMessage(
  throw new Error(Errors.LINK_BUTTON_CANNOT_HAVE_CUSTOM_ID);
  }
  if (
  - !component.customId
  + !component.customId && component.type !== ButtonStyles.Link
  ) {
  - if (component.type !== ButtonStyles.Link) {
  throw new Error(Errors.BUTTON_REQUIRES_CUSTOM_ID);
  }
  - }
  if (!validateLength(component.label, { max: 80 })) {
  throw new Error(Errors.COMPONENT_LABEL_TOO_BIG);
  