1
1
mirror of https://github.com/Burn-E99/TheArtificer.git synced 2026-01-08 13:27:55 -05:00

Add roll error code to embed footer

This commit is contained in:
Ean Milligan (Bastion)
2022-06-19 21:56:50 -04:00
parent 137f6388f7
commit 3931ee8394
2 changed files with 4 additions and 1 deletions

View File

@ -206,6 +206,9 @@ export const generateRollEmbed = async (authorId: bigint, returnDetails: SolvedR
color: failColor,
title: 'Roll failed:',
description: `${returnDetails.errorMsg}`,
footer: {
text: `Code: ${returnDetails.errorCode}`,
},
},
hasAttachment: false,
attachment: {