Fail-safe to Message Sending!
This commit is contained in:
parent
6dabdf07d6
commit
cbbd1db0cf
|
@ -21,7 +21,9 @@ const send = (message, database, channelId , discord) => {
|
||||||
iconURL: discord.user.displayAvatarURL()
|
iconURL: discord.user.displayAvatarURL()
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
})
|
}).catch((error) => {
|
||||||
|
console.log(`Unable to Send Message to Channel [${channelId}]`);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = send;
|
module.exports = send;
|
Loading…
Reference in New Issue