added a ping to failed p/dmusers

This commit is contained in:
ayeuhugyu 2023-09-09 15:39:23 -07:00
parent 4970f1a10f
commit 582850c9e9

View file

@ -32,7 +32,7 @@ module.exports = {
if (msg !== "") { if (msg !== "") {
user.send(msg).catch(() => { user.send(msg).catch(() => {
message.channel.send( message.channel.send(
`cannot send message to ${user}, this is usually caused by them not being inside the server` `<@${message.author}>, cannot send message to ${user}, this is usually caused by them not being inside the server`
); );
fs.appendFileSync( fs.appendFileSync(
"../pepperbot/src/logs/forcesay.log", "../pepperbot/src/logs/forcesay.log",