mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Removed Client#setChannelNameAndTopic and any relevant references (fixed). (#464)
* Removed undeed functions relating to channelName and channelTopic. * Compiled the last commit.
This commit is contained in:
@@ -1086,14 +1086,6 @@ var Client = (function (_EventEmitter) {
|
||||
return this.internal.setChannelName(channel, name).then(dataCallback(callback), errorCallback(callback));
|
||||
};
|
||||
|
||||
// def setChannelNameAndTopic
|
||||
|
||||
Client.prototype.setChannelNameAndTopic = function setChannelNameAndTopic(channel, name, topic) {
|
||||
var callback = arguments.length <= 3 || arguments[3] === undefined ? function () /*err, {}*/{} : arguments[3];
|
||||
|
||||
return this.internal.setChannelNameAndTopic(channel, name, topic).then(dataCallback(callback), errorCallback(callback));
|
||||
};
|
||||
|
||||
// def setChannelPosition
|
||||
|
||||
Client.prototype.setChannelPosition = function setChannelPosition(channel, position) {
|
||||
|
||||
Reference in New Issue
Block a user