/// <summary> /// Attaches an integration from the current bot to this guild. /// <para>Requires <see cref="DiscordPermission.ManageGuild"/>.</para> /// </summary> /// <exception cref="DiscordHttpApiException"></exception> public Task CreateIntegration(Snowflake integrationId, string type) { return(http.CreateGuildIntegration(Id, integrationId, type)); }