mirror of
https://github.com/Ratstail91/SANCTUM.git
synced 2025-11-29 02:24:27 +11:00
Mori is half complete
This commit is contained in:
@@ -9,6 +9,7 @@ exports = module.exports = {};
|
||||
//typingDelay (optional) - delay in milliseconds for the message, while typing is shown
|
||||
exports.SendPublicMessage = function(client, user, channel, message, typingDelay = 0) {
|
||||
//Handle optional second argument (so much for default arugments in node)
|
||||
//WARNING: this may be funky as fuck due to typingDelay; if so, delete this
|
||||
if (message === undefined) {
|
||||
message = channel;
|
||||
channel = user;
|
||||
|
||||
Reference in New Issue
Block a user