Add notes (#423)

This commit is contained in:
Manuel Kraus
2016-06-15 06:04:47 +02:00
committed by abal
parent 7f864578e0
commit 0f4566dd23
10 changed files with 140 additions and 0 deletions

View File

@@ -791,6 +791,14 @@ var Client = (function (_EventEmitter) {
return this.internal.setNickname(server, nick, user).then(dataCallback(callback), errorCallback(callback));
};
// def setNote
Client.prototype.setNote = function setNote(user, note) {
var callback = arguments.length <= 2 || arguments[2] === undefined ? function () /*err, {}*/{} : arguments[2];
return this.internal.setNote(user, note).then(dataCallback(callback), errorCallback(callback));
};
// def createRole
Client.prototype.createRole = function createRole(server) {