Implemented GetVoiceRegionsAsync on IGuild. (#1166)

This commit is contained in:
advorange
2018-10-02 13:26:35 -07:00
committed by Christopher F
parent ff0fea98a6
commit 00717cf481
4 changed files with 49 additions and 0 deletions

View File

@@ -467,6 +467,16 @@ namespace Discord
/// </returns>
Task<ICategoryChannel> CreateCategoryAsync(string name, RequestOptions options = null);
/// <summary>
/// Gets a collection of all the voice regions this guild can access.
/// </summary>
/// <param name="options">The options to be used when sending the request.</param>
/// <returns>
/// A task that represents the asynchronous get operation. The task result contains a read-only collection of
/// voice regions the guild can access.
/// </returns>
Task<IReadOnlyCollection<IVoiceRegion>> GetVoiceRegionsAsync(RequestOptions options = null);
Task<IReadOnlyCollection<IGuildIntegration>> GetIntegrationsAsync(RequestOptions options = null);
Task<IGuildIntegration> CreateIntegrationAsync(ulong id, string type, RequestOptions options = null);