Fixed syntax error

This commit is contained in:
RogueException
2015-10-17 18:49:57 -03:00
parent 0cbf5ba633
commit 1b5e6ad076

View File

@@ -666,7 +666,7 @@ namespace Discord
//Roles
/// <summary> Note: due to current API limitations, the created role cannot be returned. </summary>
public Task<Role> CreateRole(Server server, string name)
=> CreateRole(server?.Id);
=> CreateRole(server?.Id, name);
/// <summary> Note: due to current API limitations, the created role cannot be returned. </summary>
public async Task<Role> CreateRole(string serverId, string name)
{