Compare commits

..

3 Commits

Author SHA1 Message Date
304503f7d8 Merge pull request 'v3.6.1 Requests Expansion' (#32) from v3.6.1 into main
All checks were successful
NodBot Production Dockerization / build (push) Successful in 21s
Reviewed-on: #32
2026-10-01 19:38:34 +00:00
7b504a2312 Re-fix variable ref
All checks were successful
NodBot PE Dockerization / build (push) Successful in 21s
2026-10-01 15:32:38 -04:00
8039f8f1c7 Print raw error instead of trying to stringify it
All checks were successful
NodBot PE Dockerization / build (push) Successful in 20s
2026-10-01 15:30:45 -04:00

View File

@ -13,7 +13,7 @@ module.exports = {
try { try {
fn.upload.request(requester, requestText, messageUrl, message.client); fn.upload.request(requester, requestText, messageUrl, message.client);
// Set the content to sent a text embed notifying the user of success // 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}`;
const replyEmbed = fn.embeds.text(commandData); const replyEmbed = fn.embeds.text(commandData);
message.reply({ embeds: [ replyEmbed ]}); message.reply({ embeds: [ replyEmbed ]});
} catch(err) { } catch(err) {
@ -22,7 +22,7 @@ module.exports = {
const replyEmbed = fn.embeds.text(commandData); const replyEmbed = fn.embeds.text(commandData);
message.reply({ embeds: [ replyEmbed ]}); message.reply({ embeds: [ replyEmbed ]});
const errorEmbed = fn.embeds.error(`An error has occurred in command ${this.name}:\n${JSON.stringify(err)}`); const errorEmbed = fn.embeds.error(`An error has occurred in command ${this.name}:\n${err}`);
fn.sendAlert(errorEmbed, message.client); fn.sendAlert(errorEmbed, message.client);
} }
}, },