mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 14:02:02 +00:00
Fixed reply method
This commit is contained in:
parent
106addbb1a
commit
efe07dbfc5
2 changed files with 2 additions and 2 deletions
|
|
@ -337,7 +337,7 @@ var Client = (function () {
|
||||||
}
|
}
|
||||||
|
|
||||||
var user = destination.sender;
|
var user = destination.sender;
|
||||||
self.sendMessage(destination, message, callback, user + ", ").then(response)["catch"](reject);
|
self.sendMessage(destination, message, tts, callback, user + ", ").then(response)["catch"](reject);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
|
|
|
||||||
|
|
@ -374,7 +374,7 @@ class Client {
|
||||||
}
|
}
|
||||||
|
|
||||||
var user = destination.sender;
|
var user = destination.sender;
|
||||||
self.sendMessage(destination, message, callback, user + ", ").then(response).catch(reject);
|
self.sendMessage(destination, message, tts, callback, user + ", ").then(response).catch(reject);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue