added a ping to failed p/dmusers
This commit is contained in:
parent
4970f1a10f
commit
582850c9e9
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ module.exports = {
|
|||
if (msg !== "") {
|
||||
user.send(msg).catch(() => {
|
||||
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(
|
||||
"../pepperbot/src/logs/forcesay.log",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue