• Creates an error log embed

    Returns

    A message object that only contains the requested embed

    Parameters

    • err: Error

      The error to display in the embed

    • interaction: Interaction<CacheType>

      The interaction that triggered the error

    Returns Pick<BaseMessageOptions, "embeds">

Generated using TypeDoc