Browse Source

Fixed syntax error

tags/docs-0.9
RogueException 9 years ago
parent
commit
1b5e6ad076
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net/DiscordClient.API.cs

+ 1
- 1
src/Discord.Net/DiscordClient.API.cs 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)
{


Loading…
Cancel
Save