Fix var reference in reply text

This commit is contained in:
Skylar Grant 2026-10-01 12:19:19 -04:00
parent fc941ad487
commit 23a282a8a5

View File

@ -13,7 +13,7 @@ module.exports = {
try {
fn.upload.request(requester, requestText, messageUrl, message.client);
// Set the content to sent a text embed notifying the user of success
commandData.content = `Your request has been submitted!\nRequest: ${request}`;
commandData.content = `Your request has been submitted!\nRequest: ${requestText}`;
message.reply(fn.embeds.text(commandData));
} catch(err) {
console.error(err);