Finish renaming setChannelTopic

This commit is contained in:
abalabahaha
2016-01-04 20:37:15 -08:00
parent 2a00064646
commit 69bffc6279
5 changed files with 5 additions and 5 deletions

View File

@@ -369,7 +369,7 @@ export default class Client extends EventEmitter {
.then(dataCallback(callback), errorCallback(callback));
}
// def setTopic
// def setChannelTopic
setChannelTopic(channel, topic, callback = (/*err, {}*/) => { }) {
return this.internal.setChannelTopic(channel, topic)
.then(dataCallback(callback), errorCallback(callback));

View File

@@ -933,7 +933,7 @@ export default class InternalClient {
return this.updateDetails({username});
}
//def setTopic
//def setChannelTopic
setChannelTopic(chann, topic = "") {
return this.resolver.resolveChannel(chann)
.then(channel =>