Fixed EditChannel(Channel) overload

This commit is contained in:
RogueException
2015-10-02 17:29:54 -03:00
parent 27840e39ff
commit a4f6f0ac32

View File

@@ -106,8 +106,8 @@ namespace Discord
}
/// <summary> Edits the provided channel, changing only non-null attributes. </summary>
public Task EditChannel(Channel channel)
=> EditChannel(channel?.Id);
public Task EditChannel(Channel channel, string name = null, string topic = null)
=> EditChannel(channel?.Id, name: name, topic: topic);
/// <summary> Edits the provided channel, changing only non-null attributes. </summary>
public Task EditChannel(string channelId, string name = null, string topic = null)
{