v3.6.1 Requests Expansion #32

Merged
voidf1sh merged 11 commits from v3.6.1 into main 2026-10-01 19:38:35 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 46e5079eaf - Show all commits

View File

@ -23,7 +23,7 @@ module.exports = {
message.reply({ embeds: [ replyEmbed ]});
const errorEmbed = fn.embeds.error(`An error has occurred in command ${this.name}:\n${JSON.stringify(err)}`);
fn.sendAlert(errorEmbed);
fn.sendAlert(errorEmbed, message.client);
}
},
};

View File

@ -921,7 +921,7 @@ const functions = {
const errorId = digits.join("");
return errorId;
},
async sendAlert(embed) {
async sendAlert(embed, client) {
const statusChannel = await client.channels.fetch(statusChannelId)
.catch(err => {
console.error(err);