Rebuilt lib for dev and getInvite

This commit is contained in:
abalabahaha
2016-01-02 18:24:55 -08:00
parent 9c8e6eed24
commit 718f0b9543
29 changed files with 5104 additions and 248 deletions

View File

@@ -337,6 +337,12 @@ export default class Client extends EventEmitter {
.then(dataCallback(callback), errorCallback(callback));
}
// def getInvite
getInvite(invite, callback = (/*err, inv*/) => { }) {
return this.internal.getInvite(invite)
.then(dataCallback(callback), errorCallback(callback));
}
// def overwritePermissions
overwritePermissions(channel, role, options = {}, callback = (/*err, {}*/) => { }) {
return this.internal.overwritePermissions(channel, role, options)