Fail-safe to Message Sending!

This commit is contained in:
KWE26 2024-03-06 19:19:32 +05:30
parent 6dabdf07d6
commit cbbd1db0cf
1 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,9 @@ const send = (message, database, channelId , discord) => {
iconURL: discord.user.displayAvatarURL()
})
]
})
}).catch((error) => {
console.log(`Unable to Send Message to Channel [${channelId}]`);
});
}
module.exports = send;