Add client.getMessage() (#428)

* Add client.getMessage

* Add shortcuts

* build it..

* Add missing ~ in note docs

* ............
This commit is contained in:
Manuel Kraus
2016-06-16 00:31:02 +02:00
committed by abal
parent 0f4566dd23
commit 0e4612d7ab
11 changed files with 212 additions and 67 deletions

View File

@@ -98,6 +98,10 @@ var User = (function (_Equality) {
return this.client.getChannelLogs.apply(this.client, _UtilArgumentRegulariser.reg(this, arguments));
};
User.prototype.getMessage = function getMessage() {
return this.client.getMessage.apply(this.client, _UtilArgumentRegulariser.reg(this, arguments));
};
User.prototype.hasRole = function hasRole(role) {
return this.client.memberHasRole.apply(this.client, [this, role]);
};