/// <summary> /// Creates a role /// </summary> /// <param name="guildId">ID of the guild</param> /// <param name="properties">Options for modifying the created ole</param> /// <returns>The created <see cref="DiscordRole"/></returns> public static DiscordRole CreateRole(this DiscordClient client, ulong guildId, RoleProperties properties = null) { return(client.CreateRoleAsync(guildId, properties).GetAwaiter().GetResult()); }