/// <summary> /// Modifies the current command permissions for this guild command. /// </summary> /// <param name="permissions">The permissions to overwrite.</param> /// <param name="options">The options to be used when sending the request.</param> /// <returns> /// A task that represents the asynchronous modification operation. The task result contains a /// <see cref="GuildApplicationCommandPermission"/> object containing the modified permissions. /// </returns> public Task <GuildApplicationCommandPermission> ModifyCommandPermissions(ApplicationCommandPermission[] permissions, RequestOptions options = null) => InteractionHelper.ModifyGuildCommandPermissionsAsync(Discord, GuildId, Id, permissions, options);