mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +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:
@@ -1620,15 +1620,6 @@ var InternalClient = (function () {
|
||||
return this.updateChannel(channel, { name: name });
|
||||
};
|
||||
|
||||
//def setChannelNameAndTopic
|
||||
|
||||
InternalClient.prototype.setChannelNameAndTopic = function setChannelNameAndTopic(channel) {
|
||||
name = name || "unnamed-channel";
|
||||
topic = topic || "";
|
||||
|
||||
return this.updateChannel(channel, { name: name, topic: topic });
|
||||
};
|
||||
|
||||
//def setChannelPosition
|
||||
|
||||
InternalClient.prototype.setChannelPosition = function setChannelPosition(channel, position) {
|
||||
|
||||
Reference in New Issue
Block a user